Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009993/0.0009992, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007715/0.007716, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6981, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.17/0.8682, allocations: 153.1 MB / 1.105 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02921/0.8975, allocations: 21.7 MB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.8995, allocations: 55.69 kB / 1.126 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.902, allocations: 2.121 MB / 1.128 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.9044, allocations: 1.398 MB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.906, allocations: 0.5509 MB / 1.13 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.9085, allocations: 2.066 MB / 1.132 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.9099, allocations: 0.9801 MB / 1.133 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.911, allocations: 0.7786 MB / 1.134 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.9128, allocations: 1.53 MB / 1.135 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.9129, allocations: 40 kB / 1.135 GB, free: 6.395 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.9133, allocations: 91.91 kB / 1.135 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000447/0.9137, allocations: 0.5042 MB / 1.136 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.9144, allocations: 0.7578 MB / 1.136 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.916, allocations: 1.813 MB / 1.138 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.916, allocations: 0 / 1.138 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.916, allocations: 0 / 1.138 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.9161, allocations: 0 / 1.138 GB, free: 3.211 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003309/0.9194, allocations: 2.058 MB / 1.14 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.9195, allocations: 8.031 kB / 1.14 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.9198, allocations: 241.9 kB / 1.14 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.9212, allocations: 1.034 MB / 1.141 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.9213, allocations: 98.94 kB / 1.141 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.9215, allocations: 71.98 kB / 1.142 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.923, allocations: 0.7884 MB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.923, allocations: 4 kB / 1.142 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.9231, allocations: 27.98 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.9231, allocations: 16 kB / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.9243, allocations: 0.6608 MB / 1.143 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005105/0.9295, allocations: 3.787 MB / 1.147 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.931, allocations: 0.7763 MB / 1.147 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007872/0.9318, allocations: 442.1 kB / 1.148 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.9319, allocations: 8.562 kB / 1.148 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008416/0.9327, allocations: 463.9 kB / 1.148 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=73): time 2.876e-06/0.9328, allocations: 0 / 1.148 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of matching and sorting (n=73): time 0.004339/0.9371, allocations: 1.869 MB / 1.15 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.9372, allocations: 60.06 kB / 1.15 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.9408, allocations: 3.367 MB / 1.154 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.9409, allocations: 41.7 kB / 1.154 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/0.9417, allocations: 0.9291 MB / 1.154 GB, free: 1.945 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.942, allocations: 232.7 kB / 1.155 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.9421, allocations: 77.67 kB / 1.155 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9422, allocations: 337.9 kB / 1.155 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.943, allocations: 341.8 kB / 1.155 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008215/0.9438, allocations: 488 kB / 1.156 GB, free: 452 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.9452, allocations: 0.7756 MB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.9453, allocations: 4 kB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002467/0.9477, allocations: 1.283 MB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9478, allocations: 9.25 kB / 1.158 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9478, allocations: 7.984 kB / 1.158 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.9485, allocations: 271 kB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.9491, allocations: 139.8 kB / 1.158 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/0.9543, allocations: 4.374 MB / 1.163 GB, free: 9.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.9554, allocations: 115.3 kB / 1.163 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.9555, allocations: 31.98 kB / 1.163 GB, free: 9.117 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00097/0.9565, allocations: 0.6184 MB / 1.163 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.9568, allocations: 217.3 kB / 1.164 GB, free: 8.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.9572, allocations: 261.1 kB / 1.164 GB, free: 8.016 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.9572, allocations: 11.94 kB / 1.164 GB, free: 8.004 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/0.9572, allocations: 4 kB / 1.164 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.9572, allocations: 3.984 kB / 1.164 GB, free: 7.996 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.9612, allocations: 2.428 MB / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.9613, allocations: 0 / 1.166 GB, free: 5.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.9616, allocations: 79.83 kB / 1.166 GB, free: 5.426 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006266/0.9622, allocations: 253.5 kB / 1.166 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/0.9623, allocations: 19.98 kB / 1.166 GB, free: 5.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.9673, allocations: 4.36 MB / 1.171 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9673, allocations: 4.094 kB / 1.171 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.9705, allocations: 1.656 MB / 1.172 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.9711, allocations: 338.1 kB / 1.173 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9713, allocations: 23.94 kB / 1.173 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.9718, allocations: 55.95 kB / 1.173 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.972, allocations: 72.53 kB / 1.173 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.9721, allocations: 28 kB / 1.173 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002938/0.975, allocations: 2.46 MB / 1.175 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.9e-07/0.975, allocations: 4 kB / 1.175 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001185/0.9762, allocations: 307.5 kB / 1.176 GB, free: 11.53 MB / 0.9356 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001202/0.9775, allocations: 498.1 kB / 1.176 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.9798, allocations: 1.127 MB / 1.177 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9798, allocations: 0 / 1.177 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.981, allocations: 0.7104 MB / 1.178 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.9826, allocations: 272.5 kB / 1.178 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.989, allocations: 4.75 MB / 1.183 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.9903, allocations: 1.552 MB / 1.184 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005547/0.9908, allocations: 154.6 kB / 1.184 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.991, allocations: 71.41 kB / 1.184 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of SimCode: time 7.42e-07/0.991, allocations: 4 kB / 1.184 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.02744/1.018, allocations: 13.88 MB / 1.198 GB, free: 4.777 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches