Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 214 kB / 23.04 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 72.5 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3323, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005265/0.3375, allocations: 3.196 MB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3402, allocations: 1.402 MB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.3404, allocations: 11.94 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.3415, allocations: 324.3 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004295/0.342, allocations: 159.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.3424, allocations: 155.6 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.3429, allocations: 334.9 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.3433, allocations: 196 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3435, allocations: 151.5 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.3439, allocations: 147.4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3439, allocations: 20 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003539/0.3443, allocations: 159.6 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.3444, allocations: 83.73 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.3445, allocations: 103.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.3451, allocations: 366.5 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3451, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3451, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3451, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009658/0.346, allocations: 481.4 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3461, allocations: 12.03 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.3468, allocations: 96.66 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.3472, allocations: 199.5 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3472, allocations: 16.8 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3472, allocations: 20.38 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.3478, allocations: 393.7 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3479, allocations: 4 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3479, allocations: 15.94 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.3479, allocations: 12.44 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.3483, allocations: 213.5 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3498, allocations: 1.03 MB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.3503, allocations: 118.5 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.3504, allocations: 44.83 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3504, allocations: 0 / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.3504, allocations: 34.56 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3504, allocations: 0 / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.351, allocations: 190.3 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3511, allocations: 55.39 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.3513, allocations: 203.1 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3514, allocations: 25.7 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.3515, allocations: 180 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3516, allocations: 27.8 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/0.3516, allocations: 41.7 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3518, allocations: 322.8 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3519, allocations: 51.97 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3521, allocations: 114.2 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.3523, allocations: 168.4 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3523, allocations: 0 / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003954/0.3527, allocations: 206.2 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3527, allocations: 4 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3527, allocations: 4 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.3529, allocations: 29.12 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.353, allocations: 32.02 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.3543, allocations: 1.315 MB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3544, allocations: 27.86 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3545, allocations: 8 kB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.3546, allocations: 146 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.3547, allocations: 19.84 kB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.124e-05/0.3547, allocations: 21.39 kB / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3547, allocations: 0 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3547, allocations: 0 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3547, allocations: 0 / 1.339 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.3554, allocations: 406.8 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3554, allocations: 0 / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/0.3555, allocations: 16 kB / 1.34 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-05/0.3555, allocations: 28.78 kB / 1.34 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3556, allocations: 11.92 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3567, allocations: 1.283 MB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3567, allocations: 3.938 kB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3571, allocations: 240.4 kB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3571, allocations: 23.83 kB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3571, allocations: 4 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3573, allocations: 11.98 kB / 1.341 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3573, allocations: 7.984 kB / 1.341 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.3573, allocations: 4 kB / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001485/0.3575, allocations: 140.2 kB / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3575, allocations: 0 / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003555/0.3578, allocations: 55.89 kB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001328/0.358, allocations: 111.2 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.3585, allocations: 226.5 kB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3585, allocations: 0 / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3587, allocations: 159.7 kB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.359, allocations: 43.09 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.3599, allocations: 438.3 kB / 1.343 GB, free: 0.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.36, allocations: 148.2 kB / 1.343 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.3601, allocations: 19.38 kB / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3601, allocations: 0 / 1.343 GB, free: 400 kB / 1.029 GB Notification: Performance of Templates: time 0.006058/0.3661, allocations: 3.289 MB / 1.346 GB, free: 13.11 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.849272321909666]