Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12.42 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 159.6 MB / 1.058 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1694/0.5015, allocations: 142.4 MB / 1.197 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02639/0.5279, allocations: 20.36 MB / 1.217 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.5302, allocations: 47.69 kB / 1.217 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.5319, allocations: 1.294 MB / 1.218 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.5335, allocations: 0.8994 MB / 1.219 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.5348, allocations: 398.8 kB / 1.22 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.5364, allocations: 1.337 MB / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.5372, allocations: 0.5852 MB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007239/0.5379, allocations: 0.5489 MB / 1.222 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.5391, allocations: 0.9353 MB / 1.223 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.5391, allocations: 35.94 kB / 1.223 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.5394, allocations: 75.92 kB / 1.223 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.5397, allocations: 338.8 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.5399, allocations: 236.9 kB / 1.224 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.5409, allocations: 1.013 MB / 1.225 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5409, allocations: 0 / 1.225 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.541, allocations: 3.938 kB / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.541, allocations: 0 / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00215/0.5431, allocations: 1.504 MB / 1.226 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5432, allocations: 8.031 kB / 1.226 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.5434, allocations: 158 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.5444, allocations: 0.6786 MB / 1.227 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.5445, allocations: 90.58 kB / 1.227 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.5446, allocations: 55.94 kB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.5457, allocations: 0.5731 MB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.5457, allocations: 3.984 kB / 1.228 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.5458, allocations: 20 kB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.5458, allocations: 12 kB / 1.228 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008583/0.5466, allocations: 463.7 kB / 1.228 GB, free: 6.688 MB / 0.9825 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.003658/0.5503, allocations: 3.064 MB / 1.231 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.5514, allocations: 0.5073 MB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.552, allocations: 321.4 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.552, allocations: 8.359 kB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.5527, allocations: 333.2 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=52): time 2.345e-06/0.5527, allocations: 4 kB / 1.232 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=52): time 0.003001/0.5557, allocations: 1.375 MB / 1.233 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.5558, allocations: 63.83 kB / 1.234 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.5581, allocations: 2.116 MB / 1.236 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.833e-05/0.5581, allocations: 41.69 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.5588, allocations: 0.6168 MB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.559, allocations: 169.6 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.5591, allocations: 20 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5592, allocations: 326 kB / 1.237 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.5598, allocations: 253.2 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.5604, allocations: 365.8 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.561, allocations: 282.7 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5611, allocations: 4 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001894/0.563, allocations: 0.9505 MB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.563, allocations: 8.547 kB / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.563, allocations: 0 / 1.239 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.5636, allocations: 196.8 kB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.564, allocations: 111.8 kB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.5677, allocations: 2.787 MB / 1.242 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.5683, allocations: 107.3 kB / 1.242 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.5684, allocations: 20 kB / 1.242 GB, free: 8.117 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: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008899/0.5693, allocations: 443.8 kB / 1.242 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.5694, allocations: 130.3 kB / 1.242 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.5697, allocations: 166 kB / 1.242 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.5697, allocations: 7.953 kB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/0.5698, allocations: 4 kB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.5698, allocations: 3.984 kB / 1.242 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.5725, allocations: 1.757 MB / 1.244 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5726, allocations: 0 / 1.244 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5728, allocations: 71.83 kB / 1.244 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.5733, allocations: 193.5 kB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.5733, allocations: 15.98 kB / 1.244 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/0.5774, allocations: 4.169 MB / 1.248 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5775, allocations: 3.953 kB / 1.248 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.697/1.274, allocations: 1.179 MB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/1.275, allocations: 247.4 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.275, allocations: 19.09 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/1.275, allocations: 49.31 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.276, allocations: 61.44 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/1.276, allocations: 19.27 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002029/1.278, allocations: 1.544 MB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.278, allocations: 1.031 kB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001069/1.279, allocations: 229.9 kB / 1.252 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/1.28, allocations: 493.8 kB / 1.252 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001594/1.282, allocations: 0.7829 MB / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.282, allocations: 0 / 1.253 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008137/1.282, allocations: 0.5854 MB / 1.254 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009928/1.283, allocations: 219.4 kB / 1.254 GB, free: 190 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/1.287, allocations: 3.118 MB / 1.257 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/1.288, allocations: 1.247 MB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003235/1.288, allocations: 103 kB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.288, allocations: 47.59 kB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.288, allocations: 0 / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.02603/1.314, allocations: 10.29 MB / 1.268 GB, free: 187.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches