Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001932/0.001932, allocations: 195 kB / 16.14 MB, free: 6.648 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.8685 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6268, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1606/0.7875, allocations: 154.5 MB / 1.167 GB, free: 7.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.8125, allocations: 21.6 MB / 1.189 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.8143, allocations: 47.75 kB / 1.189 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.8159, allocations: 1.122 MB / 1.19 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.8174, allocations: 0.8138 MB / 1.19 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.8185, allocations: 386.9 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.8197, allocations: 1.348 MB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.8205, allocations: 0.61 MB / 1.193 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006855/0.8212, allocations: 498.2 kB / 1.193 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009462/0.8222, allocations: 0.9137 MB / 1.194 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.8223, allocations: 36 kB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.8225, allocations: 87.97 kB / 1.194 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.8228, allocations: 308.7 kB / 1.195 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.8232, allocations: 464.8 kB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009613/0.8242, allocations: 1.148 MB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8242, allocations: 0 / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.358e-06/0.8242, allocations: 0 / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.8242, allocations: 3.938 kB / 1.196 GB, free: 10.27 MB / 0.9512 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.002533/0.8268, allocations: 1.475 MB / 1.198 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8268, allocations: 12.03 kB / 1.198 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.8271, allocations: 139.3 kB / 1.198 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.828, allocations: 0.6472 MB / 1.198 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.8283, allocations: 74.69 kB / 1.198 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.132e-05/0.8284, allocations: 48 kB / 1.198 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.8294, allocations: 0.5262 MB / 1.199 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8294, allocations: 0 / 1.199 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.8295, allocations: 16 kB / 1.199 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.8295, allocations: 8 kB / 1.199 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.8304, allocations: 415.7 kB / 1.199 GB, free: 6.801 MB / 0.9512 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.00383/0.8343, allocations: 2.807 MB / 1.202 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.8359, allocations: 459.7 kB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009041/0.8368, allocations: 290.9 kB / 1.203 GB, free: 3 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.8369, allocations: 4.656 kB / 1.203 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009008/0.8378, allocations: 301.8 kB / 1.203 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.276e-06/0.8378, allocations: 0 / 1.203 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.004408/0.8422, allocations: 1.245 MB / 1.204 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.8423, allocations: 59.41 kB / 1.204 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.8452, allocations: 1.74 MB / 1.206 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.8453, allocations: 49.69 kB / 1.206 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/0.8461, allocations: 0.5217 MB / 1.207 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.8463, allocations: 145.9 kB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.8465, allocations: 94.25 kB / 1.207 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8467, allocations: 330 kB / 1.207 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.8474, allocations: 213 kB / 1.207 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/0.8483, allocations: 332.9 kB / 1.208 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.8497, allocations: 0.5101 MB / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.8497, allocations: 0 / 1.208 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00257/0.8523, allocations: 0.8527 MB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.8523, allocations: 4 kB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8523, allocations: 4 kB / 1.209 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.8531, allocations: 188.8 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/0.8537, allocations: 87.88 kB / 1.209 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.8588, allocations: 2.748 MB / 1.212 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007571/0.8596, allocations: 79.55 kB / 1.212 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.8597, allocations: 23.98 kB / 1.212 GB, free: 9.18 MB / 0.9669 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,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 (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.0007798/0.8605, allocations: 379.9 kB / 1.212 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.8607, allocations: 118.5 kB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.861, allocations: 147.6 kB / 1.213 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.861, allocations: 11.98 kB / 1.213 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.8611, allocations: 4 kB / 1.213 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8611, allocations: 3.984 kB / 1.213 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.8647, allocations: 1.567 MB / 1.214 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8647, allocations: 0 / 1.214 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.865, allocations: 43.97 kB / 1.214 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.8658, allocations: 193.6 kB / 1.215 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.8658, allocations: 11.98 kB / 1.215 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006136/0.872, allocations: 4.126 MB / 1.219 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.872, allocations: 4.062 kB / 1.219 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.8749, allocations: 1.064 MB / 1.22 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.8753, allocations: 215.5 kB / 1.22 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.8754, allocations: 8 kB / 1.22 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.876, allocations: 39.95 kB / 1.22 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.8762, allocations: 55.8 kB / 1.22 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.8762, allocations: 19.98 kB / 1.22 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002107/0.8784, allocations: 1.277 MB / 1.221 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8784, allocations: 0 / 1.221 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001334/0.8797, allocations: 211.7 kB / 1.221 GB, free: 15.31 MB / 0.9825 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,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.001662/0.8814, allocations: 480.8 kB / 1.222 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.8836, allocations: 0.7313 MB / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8836, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.885, allocations: 0.5552 MB / 1.223 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8865, allocations: 183.2 kB / 1.223 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.8919, allocations: 2.696 MB / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.8932, allocations: 1.146 MB / 1.227 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000438/0.8936, allocations: 88.77 kB / 1.227 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.8938, allocations: 47.42 kB / 1.227 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.8938, allocations: 4 kB / 1.227 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of Templates: time 0.0268/0.9206, allocations: 9.85 MB / 1.237 GB, free: 15.76 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches