Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007263/0.007263, allocations: 103 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 193.6 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.12 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7632, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1647/0.9278, allocations: 156.7 MB / 1.361 GB, free: 272 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02559/0.9535, allocations: 21.75 MB / 1.382 GB, free: 10.45 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.9557, allocations: 47.75 kB / 1.382 GB, free: 10.4 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.9575, allocations: 1.173 MB / 1.383 GB, free: 9.227 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.9594, allocations: 0.8563 MB / 1.384 GB, free: 8.367 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.9607, allocations: 437.5 kB / 1.384 GB, free: 7.941 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.9622, allocations: 1.255 MB / 1.386 GB, free: 6.684 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000812/0.963, allocations: 0.687 MB / 1.386 GB, free: 5.996 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.9637, allocations: 0.5568 MB / 1.387 GB, free: 5.438 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.9648, allocations: 0.9137 MB / 1.388 GB, free: 4.523 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.9649, allocations: 64 kB / 1.388 GB, free: 4.461 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.9652, allocations: 119.9 kB / 1.388 GB, free: 4.344 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.9655, allocations: 312.8 kB / 1.388 GB, free: 4.039 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004257/0.9659, allocations: 492.8 kB / 1.389 GB, free: 3.555 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.9673, allocations: 1.197 MB / 1.39 GB, free: 2.355 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9673, allocations: 0 / 1.39 GB, free: 2.355 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9673, allocations: 0 / 1.39 GB, free: 2.355 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.9673, allocations: 4 kB / 1.39 GB, free: 2.352 MB / 1.107 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.002367/0.9697, allocations: 1.475 MB / 1.391 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.9698, allocations: 8.031 kB / 1.391 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.97, allocations: 143.2 kB / 1.391 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.9709, allocations: 0.6629 MB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.971, allocations: 74.69 kB / 1.392 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.9711, allocations: 48 kB / 1.392 GB, free: 15.83 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.972, allocations: 0.5184 MB / 1.393 GB, free: 15.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.9721, allocations: 4 kB / 1.393 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.9721, allocations: 19.98 kB / 1.393 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.9721, allocations: 12 kB / 1.393 GB, free: 15.26 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.9729, allocations: 415.6 kB / 1.393 GB, free: 14.86 MB / 1.123 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.003312/0.9763, allocations: 2.716 MB / 1.396 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.9772, allocations: 451.5 kB / 1.396 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.9778, allocations: 306.2 kB / 1.397 GB, free: 11.15 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.9778, allocations: 4.703 kB / 1.397 GB, free: 11.15 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.9783, allocations: 287.7 kB / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.9783, allocations: 0 / 1.397 GB, free: 10.86 MB / 1.123 GB Notification: Performance of matching and sorting (n=44): time 0.002523/0.9809, allocations: 1.151 MB / 1.398 GB, free: 9.652 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.9809, allocations: 59.34 kB / 1.398 GB, free: 9.582 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.9828, allocations: 1.764 MB / 1.4 GB, free: 7.809 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.9829, allocations: 41.69 kB / 1.4 GB, free: 7.762 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.9833, allocations: 0.5211 MB / 1.4 GB, free: 7.234 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.9834, allocations: 142 kB / 1.4 GB, free: 7.094 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.9836, allocations: 98.25 kB / 1.401 GB, free: 6.992 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9837, allocations: 330 kB / 1.401 GB, free: 6.664 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.9842, allocations: 209 kB / 1.401 GB, free: 6.461 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.9847, allocations: 339.2 kB / 1.401 GB, free: 6.082 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.9855, allocations: 0.5188 MB / 1.402 GB, free: 5.516 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.9855, allocations: 7.922 kB / 1.402 GB, free: 5.508 MB / 1.123 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001454/0.987, allocations: 0.8072 MB / 1.403 GB, free: 4.691 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.987, allocations: 8 kB / 1.403 GB, free: 4.684 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.987, allocations: 4 kB / 1.403 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.9875, allocations: 139.5 kB / 1.403 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.9878, allocations: 103.8 kB / 1.403 GB, free: 4.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/0.9908, allocations: 2.605 MB / 1.405 GB, free: 1.703 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.9912, allocations: 79.39 kB / 1.406 GB, free: 1.625 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.9913, allocations: 20 kB / 1.406 GB, free: 1.605 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004733/0.9917, allocations: 383.4 kB / 1.406 GB, free: 1.223 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.9919, allocations: 114.5 kB / 1.406 GB, free: 1.109 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.9921, allocations: 139.7 kB / 1.406 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9921, allocations: 4 kB / 1.406 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.9921, allocations: 7.938 kB / 1.406 GB, free: 0.957 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.9921, allocations: 7.969 kB / 1.406 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.9944, allocations: 1.49 MB / 1.408 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9944, allocations: 0 / 1.408 GB, free: 15.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.9946, allocations: 51.91 kB / 1.408 GB, free: 15.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003781/0.995, allocations: 164.7 kB / 1.408 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.9951, allocations: 15.98 kB / 1.408 GB, free: 15.17 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003693/0.9988, allocations: 4.018 MB / 1.412 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9988, allocations: 0 / 1.412 GB, free: 10.88 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.001, allocations: 0.9926 MB / 1.413 GB, free: 9.863 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/1.001, allocations: 223.5 kB / 1.413 GB, free: 9.625 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/1.001, allocations: 11.98 kB / 1.413 GB, free: 9.613 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/1.001, allocations: 31.97 kB / 1.413 GB, free: 9.582 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.001, allocations: 43.94 kB / 1.413 GB, free: 9.539 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/1.001, allocations: 23.92 kB / 1.413 GB, free: 9.516 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001369/1.003, allocations: 1.285 MB / 1.414 GB, free: 8.227 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.91e-07/1.003, allocations: 0 / 1.414 GB, free: 8.227 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008132/1.004, allocations: 203.7 kB / 1.415 GB, free: 8.027 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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 (28): * Single equations (assignments): 20 * 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,12,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.001087/1.005, allocations: 478.8 kB / 1.415 GB, free: 7.734 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001301/1.006, allocations: 0.6551 MB / 1.416 GB, free: 7.066 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.006, allocations: 0 / 1.416 GB, free: 7.066 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000771/1.007, allocations: 0.5363 MB / 1.416 GB, free: 6.504 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/1.008, allocations: 201.1 kB / 1.416 GB, free: 6.312 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.011, allocations: 2.356 MB / 1.419 GB, free: 3.926 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007901/1.012, allocations: 1.146 MB / 1.42 GB, free: 2.754 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003332/1.012, allocations: 100.8 kB / 1.42 GB, free: 2.656 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.012, allocations: 47.42 kB / 1.42 GB, free: 2.609 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/1.012, allocations: 0 / 1.42 GB, free: 2.609 MB / 1.139 GB Notification: Performance of Templates: time 0.0189/1.031, allocations: 10.15 MB / 1.43 GB, free: 8.582 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches