Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,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.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,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.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006107/0.006107, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.00152/0.00152, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 61.61 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2666, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1554/0.422, allocations: 154.5 MB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.4455, allocations: 21.6 MB / 1.225 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.4472, allocations: 51.75 kB / 1.225 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.4488, allocations: 1.118 MB / 1.226 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.4502, allocations: 0.8138 MB / 1.227 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.4512, allocations: 382.1 kB / 1.227 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4526, allocations: 1.352 MB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.4533, allocations: 0.6123 MB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006142/0.4539, allocations: 494.2 kB / 1.229 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000952/0.4549, allocations: 0.9214 MB / 1.23 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.455, allocations: 40 kB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.4552, allocations: 71.98 kB / 1.23 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.4555, allocations: 304.8 kB / 1.231 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.4559, allocations: 472.8 kB / 1.231 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.4566, allocations: 0.9122 MB / 1.232 GB, free: 76 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4566, allocations: 4 kB / 1.232 GB, free: 72 kB / 0.9825 GB Notification: Performance of FrontEnd: time 7.81e-07/0.4566, allocations: 0 / 1.232 GB, free: 72 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.4566, allocations: 0 / 1.232 GB, free: 72 kB / 0.9825 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.002112/0.4587, allocations: 1.479 MB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4588, allocations: 11.97 kB / 1.233 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.459, allocations: 131.3 kB / 1.234 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.4598, allocations: 0.6627 MB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.4599, allocations: 78.62 kB / 1.234 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.736e-05/0.46, allocations: 48 kB / 1.234 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.4609, allocations: 0.5145 MB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4609, allocations: 4 kB / 1.235 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.461, allocations: 20 kB / 1.235 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.461, allocations: 12 kB / 1.235 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.4618, allocations: 411.7 kB / 1.235 GB, free: 12.59 MB / 0.9981 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.003401/0.4652, allocations: 2.799 MB / 1.238 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/0.4662, allocations: 455.4 kB / 1.238 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.4667, allocations: 287.8 kB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.4668, allocations: 4.656 kB / 1.239 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.4674, allocations: 305.8 kB / 1.239 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.765e-06/0.4674, allocations: 3.938 kB / 1.239 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002868/0.4702, allocations: 1.238 MB / 1.24 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4703, allocations: 63.34 kB / 1.24 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.472, allocations: 1.744 MB / 1.242 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4721, allocations: 37.7 kB / 1.242 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.4725, allocations: 0.5217 MB / 1.243 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.4726, allocations: 146 kB / 1.243 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.4728, allocations: 102.2 kB / 1.243 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4729, allocations: 322 kB / 1.243 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.4734, allocations: 217 kB / 1.243 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.4739, allocations: 324.9 kB / 1.244 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/0.4748, allocations: 0.5021 MB / 1.244 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4749, allocations: 4 kB / 1.244 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001626/0.4765, allocations: 0.8552 MB / 1.245 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4765, allocations: 7.984 kB / 1.245 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4765, allocations: 7.984 kB / 1.245 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.4771, allocations: 184.8 kB / 1.245 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.4774, allocations: 91.88 kB / 1.245 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4672/0.9446, allocations: 2.735 MB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.9452, allocations: 82.02 kB / 1.248 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.9453, allocations: 20.19 kB / 1.248 GB, free: 194.1 MB / 0.9981 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.0005106/0.9458, allocations: 386.2 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.9459, allocations: 119.7 kB / 1.248 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.9461, allocations: 139.6 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9461, allocations: 6.125 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.9461, allocations: 3.844 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9462, allocations: 2.359 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/0.9485, allocations: 1.568 MB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9485, allocations: 1.688 kB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.9487, allocations: 47.86 kB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/0.9492, allocations: 194.6 kB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.9493, allocations: 11.27 kB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.9525, allocations: 4.13 MB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9526, allocations: 3.938 kB / 1.254 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.9541, allocations: 1.062 MB / 1.255 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.9543, allocations: 218.2 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-05/0.9544, allocations: 13.62 kB / 1.256 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.9548, allocations: 42.8 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.9549, allocations: 45.94 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.9549, allocations: 19.5 kB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001084/0.956, allocations: 1.284 MB / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.956, allocations: 0 / 1.257 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007731/0.9568, allocations: 214.5 kB / 1.257 GB, free: 190.5 MB / 0.9981 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.001145/0.958, allocations: 476.5 kB / 1.258 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.9594, allocations: 0.7138 MB / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9594, allocations: 0 / 1.258 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.9602, allocations: 0.5564 MB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.9611, allocations: 184.5 kB / 1.259 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.9642, allocations: 2.745 MB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.9649, allocations: 1.144 MB / 1.263 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.965, allocations: 50.66 kB / 1.263 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.965, allocations: 0 / 1.263 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02893/0.9939, allocations: 17.83 MB / 1.28 GB, free: 182.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches