Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.001309/0.001309, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001323/0.001323, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.407/1.407, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.869/2.869, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [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.002099/0.002099, allocations: 71.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7558/0.7579, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1713/0.9293, allocations: 138.5 MB / 1.322 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.9544, allocations: 19.71 MB / 1.341 GB, free: 7.582 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.9558, allocations: 67.44 kB / 1.341 GB, free: 7.516 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.9575, allocations: 1.173 MB / 1.342 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.959, allocations: 0.9068 MB / 1.343 GB, free: 5.43 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008308/0.9598, allocations: 390.9 kB / 1.344 GB, free: 5.047 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.9612, allocations: 1.27 MB / 1.345 GB, free: 3.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.9619, allocations: 0.5468 MB / 1.345 GB, free: 3.219 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.9626, allocations: 0.5686 MB / 1.346 GB, free: 2.648 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.9638, allocations: 0.98 MB / 1.347 GB, free: 1.664 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.9639, allocations: 71.94 kB / 1.347 GB, free: 1.594 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.9641, allocations: 108 kB / 1.347 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000312/0.9644, allocations: 324.7 kB / 1.347 GB, free: 1.172 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003926/0.9648, allocations: 385.5 kB / 1.348 GB, free: 0.793 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.9661, allocations: 1.233 MB / 1.349 GB, free: 15.56 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.9661, allocations: 0 / 1.349 GB, free: 15.56 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9661, allocations: 0 / 1.349 GB, free: 15.56 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.9661, allocations: 11.94 kB / 1.349 GB, free: 15.55 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002405/0.9685, allocations: 1.493 MB / 1.35 GB, free: 14.02 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.9686, allocations: 12.03 kB / 1.35 GB, free: 14 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.9687, allocations: 140 kB / 1.351 GB, free: 13.87 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000899/0.9696, allocations: 0.6103 MB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.9698, allocations: 100.4 kB / 1.351 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.9699, allocations: 48 kB / 1.351 GB, free: 13.06 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.9709, allocations: 0.5261 MB / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.9709, allocations: 3.984 kB / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.9709, allocations: 16 kB / 1.352 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.971, allocations: 12 kB / 1.352 GB, free: 12.49 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.9719, allocations: 419.7 kB / 1.352 GB, free: 12.08 MB / 1.201 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.9752, allocations: 1.853 MB / 1.354 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.9763, allocations: 429.2 kB / 1.354 GB, free: 9.754 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.9769, allocations: 269.3 kB / 1.355 GB, free: 9.488 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.9769, allocations: 8.266 kB / 1.355 GB, free: 9.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005904/0.9775, allocations: 294.8 kB / 1.355 GB, free: 9.184 MB / 1.201 GB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.9775, allocations: 4 kB / 1.355 GB, free: 9.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003147/0.9807, allocations: 1.11 MB / 1.356 GB, free: 8.055 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.9807, allocations: 63.41 kB / 1.356 GB, free: 7.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.9828, allocations: 1.755 MB / 1.358 GB, free: 6.215 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.9828, allocations: 37.7 kB / 1.358 GB, free: 6.172 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.9833, allocations: 0.5142 MB / 1.358 GB, free: 5.652 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.9834, allocations: 158.7 kB / 1.359 GB, free: 5.496 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.9836, allocations: 94.34 kB / 1.359 GB, free: 5.398 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9837, allocations: 330 kB / 1.359 GB, free: 5.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.9843, allocations: 217.2 kB / 1.359 GB, free: 4.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.9849, allocations: 337.8 kB / 1.359 GB, free: 4.484 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.9859, allocations: 0.5143 MB / 1.36 GB, free: 3.934 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9859, allocations: 0 / 1.36 GB, free: 3.934 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001747/0.9876, allocations: 0.8581 MB / 1.361 GB, free: 3.066 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9876, allocations: 4 kB / 1.361 GB, free: 3.062 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.9876, allocations: 4 kB / 1.361 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.9882, allocations: 186.9 kB / 1.361 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.9886, allocations: 91.81 kB / 1.361 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.9924, allocations: 2.835 MB / 1.364 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.9928, allocations: 79.67 kB / 1.364 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.9928, allocations: 20 kB / 1.364 GB, free: 15.76 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.9933, allocations: 384.2 kB / 1.364 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.9935, allocations: 123.1 kB / 1.364 GB, free: 15.25 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.9952, allocations: 0.7722 MB / 1.365 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9952, allocations: 4 kB / 1.365 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9952, allocations: 4 kB / 1.365 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.9952, allocations: 3.984 kB / 1.365 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.9978, allocations: 1.452 MB / 1.367 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9978, allocations: 0 / 1.367 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.9981, allocations: 51.95 kB / 1.367 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.9986, allocations: 189.6 kB / 1.367 GB, free: 12.71 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.9986, allocations: 15.92 kB / 1.367 GB, free: 12.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004824/1.003, allocations: 4.265 MB / 1.371 GB, free: 8.238 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.003, allocations: 4.031 kB / 1.371 GB, free: 8.234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/1.005, allocations: 1.078 MB / 1.372 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/1.006, allocations: 159.1 kB / 1.372 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/1.006, allocations: 12 kB / 1.372 GB, free: 6.965 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/1.006, allocations: 27.97 kB / 1.372 GB, free: 6.938 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.006, allocations: 60.33 kB / 1.372 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/1.006, allocations: 19.98 kB / 1.372 GB, free: 6.859 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001474/1.008, allocations: 1.284 MB / 1.374 GB, free: 5.57 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/1.008, allocations: 0 / 1.374 GB, free: 5.57 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007606/1.009, allocations: 211.7 kB / 1.374 GB, free: 5.363 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/1.01, allocations: 0.5066 MB / 1.374 GB, free: 5.066 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.012, allocations: 0.7057 MB / 1.375 GB, free: 4.348 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.012, allocations: 0 / 1.375 GB, free: 4.348 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009572/1.013, allocations: 0.5472 MB / 1.376 GB, free: 3.773 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/1.014, allocations: 193.3 kB / 1.376 GB, free: 3.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/1.018, allocations: 2.426 MB / 1.378 GB, free: 1.133 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.018, allocations: 0.5623 MB / 1.379 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002426/1.019, allocations: 80.64 kB / 1.379 GB, free: 464 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/1.019, allocations: 52.42 kB / 1.379 GB, free: 412 kB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/1.019, allocations: 0 / 1.379 GB, free: 412 kB / 1.217 GB Notification: Performance of Templates: time 0.02067/1.039, allocations: 10.83 MB / 1.389 GB, free: 5.77 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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: 77.18907041102648]