Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.002005/0.002005, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002534/0.002534, allocations: 215 kB / 23.01 MB, free: 4.566 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.303/3.303, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [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.002303/0.002303, allocations: 74.75 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4329, allocations: 176.1 MB / 1.327 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006521/0.4394, allocations: 4.021 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003437/0.4428, allocations: 1.862 MB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.4431, allocations: 11.94 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.4446, allocations: 477 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.4453, allocations: 238.8 kB / 1.334 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.446, allocations: 251.5 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007537/0.4467, allocations: 0.514 MB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006888/0.4474, allocations: 293.2 kB / 1.335 GB, free: 9.691 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.4477, allocations: 207.3 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.4482, allocations: 255 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.4483, allocations: 32 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.4486, allocations: 191.6 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.4488, allocations: 135.6 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.4491, allocations: 179.1 kB / 1.336 GB, free: 8.711 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.4497, allocations: 0.502 MB / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4497, allocations: 0 / 1.336 GB, free: 8.207 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4497, allocations: 4 kB / 1.336 GB, free: 8.203 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.4498, allocations: 0 / 1.336 GB, free: 8.203 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001298/0.4511, allocations: 0.5985 MB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.4511, allocations: 8.031 kB / 1.337 GB, free: 7.562 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.4517, allocations: 92.58 kB / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.4522, allocations: 246.2 kB / 1.337 GB, free: 7.207 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4522, allocations: 21.03 kB / 1.337 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.4522, allocations: 24.38 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.4532, allocations: 0.4942 MB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4532, allocations: 0 / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4532, allocations: 12 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.4533, allocations: 40.62 kB / 1.338 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.4541, allocations: 366.2 kB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.4566, allocations: 2.026 MB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.4572, allocations: 206.7 kB / 1.34 GB, free: 3.801 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.4576, allocations: 144.8 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.4576, allocations: 0 / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.4577, allocations: 38.56 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.4577, allocations: 0 / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001239/0.4589, allocations: 352.5 kB / 1.341 GB, free: 3.258 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.459, allocations: 55.41 kB / 1.341 GB, free: 3.191 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.4593, allocations: 269.8 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.4593, allocations: 29.7 kB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.4595, allocations: 208.3 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.4595, allocations: 67.42 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4597, allocations: 61.94 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4598, allocations: 338.8 kB / 1.342 GB, free: 2.199 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4601, allocations: 101.9 kB / 1.342 GB, free: 2.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.4604, allocations: 211.5 kB / 1.342 GB, free: 1.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.461, allocations: 314.9 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.461, allocations: 0 / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008413/0.4619, allocations: 369.8 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4619, allocations: 4 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4619, allocations: 4 kB / 1.342 GB, free: 1.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.4622, allocations: 45.27 kB / 1.343 GB, free: 1.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.4625, allocations: 63.89 kB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.464, allocations: 1.374 MB / 1.344 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4643, allocations: 43.77 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4643, allocations: 12 kB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003793/0.4647, allocations: 220.6 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003373/0.4651, allocations: 211.2 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005713/0.4656, allocations: 314.9 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.4656, allocations: 0 / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007553/0.4664, allocations: 354.1 kB / 1.345 GB, free: 14.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4664, allocations: 9.875 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4664, allocations: 4 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.4665, allocations: 28.84 kB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.4668, allocations: 67.89 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.468, allocations: 1.315 MB / 1.346 GB, free: 12.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.4683, allocations: 39.88 kB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.4683, allocations: 15.98 kB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.4685, allocations: 200.1 kB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.4685, allocations: 31.8 kB / 1.347 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.4686, allocations: 30.11 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4686, allocations: 4 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4686, allocations: 0 / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4686, allocations: 4 kB / 1.347 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.4699, allocations: 0.7139 MB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4699, allocations: 4.062 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.4701, allocations: 51.91 kB / 1.347 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.4702, allocations: 20.84 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4702, allocations: 4 kB / 1.348 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4714, allocations: 1.323 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4714, allocations: 0 / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.4721, allocations: 367.2 kB / 1.349 GB, free: 9.711 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4722, allocations: 47.73 kB / 1.349 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.4722, allocations: 7.984 kB / 1.349 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.4724, allocations: 15.98 kB / 1.349 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.4725, allocations: 19.97 kB / 1.349 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4725, allocations: 4 kB / 1.349 GB, free: 9.617 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001963/0.4727, allocations: 181.2 kB / 1.349 GB, free: 9.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4727, allocations: 0 / 1.349 GB, free: 9.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006289/0.4733, allocations: 147.7 kB / 1.35 GB, free: 9.301 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.4735, allocations: 111.2 kB / 1.35 GB, free: 9.184 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.4748, allocations: 0.5932 MB / 1.35 GB, free: 8.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4748, allocations: 3.938 kB / 1.35 GB, free: 8.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4751, allocations: 215.8 kB / 1.35 GB, free: 8.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.4757, allocations: 76.94 kB / 1.351 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4768, allocations: 0.6017 MB / 1.351 GB, free: 7.637 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.4773, allocations: 0.8035 MB / 1.352 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.4774, allocations: 31.36 kB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.4774, allocations: 0 / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of Templates: time 0.008154/0.4856, allocations: 4.863 MB / 1.357 GB, free: 1.922 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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: 12.900614509009756]