Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.TestCase5,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.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,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.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001116/0.001116, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.423/2.423, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.66 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2581, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.6171/0.8753, allocations: 157.3 MB / 1.18 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.8988, allocations: 22 MB / 1.202 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.9006, allocations: 56.66 kB / 1.202 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.9029, allocations: 2.156 MB / 1.204 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.9047, allocations: 1.42 MB / 1.205 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.906, allocations: 0.5738 MB / 1.206 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.9076, allocations: 1.834 MB / 1.208 GB, free: 312 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.9087, allocations: 1.077 MB / 1.209 GB, free: 15.64 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008514/0.9096, allocations: 0.8803 MB / 1.21 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.9109, allocations: 1.541 MB / 1.211 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.911, allocations: 92.84 kB / 1.211 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.9113, allocations: 135.2 kB / 1.211 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.9117, allocations: 0.5241 MB / 1.212 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005796/0.9123, allocations: 0.7672 MB / 1.213 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.9138, allocations: 1.86 MB / 1.214 GB, free: 12.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9138, allocations: 3.984 kB / 1.214 GB, free: 12.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9138, allocations: 0 / 1.214 GB, free: 12.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.9138, allocations: 0 / 1.214 GB, free: 12.31 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003048/0.9169, allocations: 2.274 MB / 1.217 GB, free: 10.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.9169, allocations: 9.969 kB / 1.217 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.9172, allocations: 231.9 kB / 1.217 GB, free: 10.46 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.9185, allocations: 1.015 MB / 1.218 GB, free: 9.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.9187, allocations: 83 kB / 1.218 GB, free: 9.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.9188, allocations: 67.94 kB / 1.218 GB, free: 9.246 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.92, allocations: 0.7368 MB / 1.219 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.92, allocations: 7.984 kB / 1.219 GB, free: 8.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.9201, allocations: 20 kB / 1.219 GB, free: 8.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.9201, allocations: 16 kB / 1.219 GB, free: 8.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.9212, allocations: 0.5907 MB / 1.219 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.9258, allocations: 3.506 MB / 1.223 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.9272, allocations: 0.7143 MB / 1.223 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.9279, allocations: 406.3 kB / 1.224 GB, free: 2.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.993e-05/0.928, allocations: 8.562 kB / 1.224 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/0.9287, allocations: 434.9 kB / 1.224 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.455e-06/0.9288, allocations: 0 / 1.224 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.004057/0.9328, allocations: 1.8 MB / 1.226 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.9329, allocations: 55.97 kB / 1.226 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.9362, allocations: 3.316 MB / 1.229 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.9362, allocations: 41.7 kB / 1.229 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/0.9369, allocations: 0.8859 MB / 1.23 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.9371, allocations: 228.9 kB / 1.23 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.9373, allocations: 130.7 kB / 1.231 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9374, allocations: 334 kB / 1.231 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.9381, allocations: 301.8 kB / 1.231 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.9388, allocations: 438.4 kB / 1.232 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.9399, allocations: 0.7265 MB / 1.232 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.94, allocations: 0 / 1.232 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002119/0.9421, allocations: 1.21 MB / 1.233 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9421, allocations: 11.94 kB / 1.234 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.9421, allocations: 0 / 1.234 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.9428, allocations: 261.6 kB / 1.234 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.9433, allocations: 131.8 kB / 1.234 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.948, allocations: 4.754 MB / 1.239 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.9486, allocations: 87.33 kB / 1.239 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.9487, allocations: 31.98 kB / 1.239 GB, free: 3.336 MB / 0.9356 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000796/0.9495, allocations: 0.6147 MB / 1.239 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.9497, allocations: 205.3 kB / 1.239 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.9501, allocations: 252.5 kB / 1.24 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.9501, allocations: 4 kB / 1.24 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.9501, allocations: 4 kB / 1.24 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.9501, allocations: 3.984 kB / 1.24 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.9536, allocations: 2.347 MB / 1.242 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9537, allocations: 0 / 1.242 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.954, allocations: 67.89 kB / 1.242 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006107/0.9546, allocations: 259.5 kB / 1.242 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.9547, allocations: 19.98 kB / 1.242 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.9592, allocations: 4.744 MB / 1.247 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9593, allocations: 32 / 1.247 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.9618, allocations: 1.584 MB / 1.248 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/0.9623, allocations: 310.4 kB / 1.249 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.9625, allocations: 16 kB / 1.249 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.9629, allocations: 43.89 kB / 1.249 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.9631, allocations: 68.47 kB / 1.249 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/0.9632, allocations: 27.98 kB / 1.249 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002464/0.9656, allocations: 2.423 MB / 1.251 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9657, allocations: 0 / 1.251 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008645/0.9665, allocations: 287.4 kB / 1.252 GB, free: 5.664 MB / 0.9512 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001105/0.9676, allocations: 499.6 kB / 1.252 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.9696, allocations: 1.071 MB / 1.253 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9696, allocations: 0 / 1.253 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.9706, allocations: 0.6826 MB / 1.254 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.9719, allocations: 284.5 kB / 1.254 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.9772, allocations: 3.99 MB / 1.258 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.9786, allocations: 1.52 MB / 1.259 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005515/0.9792, allocations: 146.4 kB / 1.26 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.9794, allocations: 67.36 kB / 1.26 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.9794, allocations: 0 / 1.26 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.02683/1.006, allocations: 14.4 MB / 1.274 GB, free: 15.22 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches