Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001582/0.001582, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6649 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 68.08 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.6721, allocations: 140.3 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1598/0.832, allocations: 154.5 MB / 1.1 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02519/0.8572, allocations: 21.61 MB / 1.122 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.8594, allocations: 51.69 kB / 1.122 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.861, allocations: 1.126 MB / 1.123 GB, free: 248 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.8624, allocations: 0.8138 MB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8635, allocations: 378.4 kB / 1.124 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.8649, allocations: 1.348 MB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007375/0.8657, allocations: 0.6177 MB / 1.126 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.8663, allocations: 498.2 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.8672, allocations: 0.9059 MB / 1.127 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.173e-05/0.8673, allocations: 40 kB / 1.127 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.8676, allocations: 79.97 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002808/0.8678, allocations: 308.7 kB / 1.128 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.8682, allocations: 460.8 kB / 1.128 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.8691, allocations: 0.916 MB / 1.129 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8691, allocations: 4 kB / 1.129 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.31e-07/0.8691, allocations: 4 kB / 1.129 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8691, allocations: 0 / 1.129 GB, free: 9.891 MB / 0.8887 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.002225/0.8713, allocations: 1.479 MB / 1.13 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8714, allocations: 8.031 kB / 1.13 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.8716, allocations: 135.2 kB / 1.13 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.8724, allocations: 0.6512 MB / 1.131 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.8725, allocations: 82.62 kB / 1.131 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/0.8726, allocations: 47.91 kB / 1.131 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.8735, allocations: 0.5184 MB / 1.132 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.8736, allocations: 4 kB / 1.132 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.8736, allocations: 19.98 kB / 1.132 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.8737, allocations: 12 kB / 1.132 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008538/0.8745, allocations: 419.7 kB / 1.132 GB, free: 6.402 MB / 0.8887 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.003456/0.878, allocations: 2.724 MB / 1.135 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.8789, allocations: 443.6 kB / 1.135 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.8796, allocations: 305.7 kB / 1.136 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.8796, allocations: 16.53 kB / 1.136 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.8802, allocations: 275 kB / 1.136 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=44): time 2.245e-06/0.8802, allocations: 0 / 1.136 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=44): time 0.002711/0.8829, allocations: 1.155 MB / 1.137 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.883, allocations: 59.41 kB / 1.137 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.8848, allocations: 1.764 MB / 1.139 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.8848, allocations: 33.7 kB / 1.139 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.8853, allocations: 0.5288 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.8854, allocations: 142.1 kB / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.8856, allocations: 102.1 kB / 1.139 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8858, allocations: 330 kB / 1.14 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.8863, allocations: 217 kB / 1.14 GB, free: 14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.8869, allocations: 335.2 kB / 1.14 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.8878, allocations: 0.5228 MB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.8878, allocations: 7.938 kB / 1.141 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001519/0.8893, allocations: 0.7955 MB / 1.142 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8893, allocations: 12.22 kB / 1.142 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.8893, allocations: 4 kB / 1.142 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.8898, allocations: 134.1 kB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.8902, allocations: 107.8 kB / 1.142 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.8929, allocations: 2.376 MB / 1.144 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.8934, allocations: 83.45 kB / 1.144 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.8934, allocations: 23.98 kB / 1.144 GB, free: 9.371 MB / 0.9044 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.0005039/0.8939, allocations: 385.3 kB / 1.145 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8941, allocations: 118.4 kB / 1.145 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.8943, allocations: 135.7 kB / 1.145 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8943, allocations: 7.938 kB / 1.145 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.8943, allocations: 11.94 kB / 1.145 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.8943, allocations: 3.984 kB / 1.145 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.8967, allocations: 1.486 MB / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8967, allocations: 0 / 1.146 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.8969, allocations: 43.91 kB / 1.146 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/0.8973, allocations: 167.3 kB / 1.147 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.8974, allocations: 15.98 kB / 1.147 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/0.9008, allocations: 3.692 MB / 1.15 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9008, allocations: 0 / 1.15 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.9026, allocations: 0.9867 MB / 1.151 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.9028, allocations: 207.6 kB / 1.151 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.9029, allocations: 23.92 kB / 1.151 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.9033, allocations: 31.91 kB / 1.151 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.9034, allocations: 63.84 kB / 1.151 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.9035, allocations: 8 kB / 1.151 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001349/0.9048, allocations: 1.289 MB / 1.153 GB, free: 340 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9048, allocations: 4 kB / 1.153 GB, free: 336 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007999/0.9057, allocations: 199.7 kB / 1.153 GB, free: 136 kB / 0.9044 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.001153/0.9068, allocations: 488.4 kB / 1.153 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.9082, allocations: 0.6702 MB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9082, allocations: 0 / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.909, allocations: 0.5252 MB / 1.155 GB, free: 14.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.9101, allocations: 185.9 kB / 1.155 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.9139, allocations: 2.738 MB / 1.157 GB, free: 11.65 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/0.9146, allocations: 1.146 MB / 1.159 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.9147, allocations: 39.44 kB / 1.159 GB, free: 10.44 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.9147, allocations: 0 / 1.159 GB, free: 10.44 MB / 0.92 GB Notification: Performance of Templates: time 0.02612/0.9409, allocations: 17.81 MB / 1.176 GB, free: 8.668 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches