Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001305/0.001305, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.427/2.427, allocations: 437 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 65.03 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2849, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.6303/0.9153, allocations: 157.9 MB / 1.172 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0299/0.9452, allocations: 22.13 MB / 1.194 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003064/0.9483, allocations: 66.62 kB / 1.194 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.9506, allocations: 1.38 MB / 1.195 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.9528, allocations: 1.019 MB / 1.196 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.9548, allocations: 0.6412 MB / 1.197 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.9571, allocations: 1.691 MB / 1.198 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.9586, allocations: 0.9718 MB / 1.199 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.9598, allocations: 0.7349 MB / 1.2 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.9613, allocations: 1.186 MB / 1.201 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.9616, allocations: 90.28 kB / 1.201 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000456/0.962, allocations: 145.1 kB / 1.201 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.9624, allocations: 418.6 kB / 1.202 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.9632, allocations: 0.654 MB / 1.203 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.9647, allocations: 1.57 MB / 1.204 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9648, allocations: 2.5 kB / 1.204 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9648, allocations: 3.938 kB / 1.204 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.767e-05/0.9648, allocations: 0 / 1.204 GB, free: 7.16 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003292/0.9681, allocations: 1.911 MB / 1.206 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9682, allocations: 10.09 kB / 1.206 GB, free: 5.703 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.9685, allocations: 186.6 kB / 1.206 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.9697, allocations: 0.8687 MB / 1.207 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.9698, allocations: 86.28 kB / 1.207 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.9699, allocations: 76.84 kB / 1.207 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.9711, allocations: 0.7146 MB / 1.208 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.9712, allocations: 6 kB / 1.208 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.9712, allocations: 29.67 kB / 1.208 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.9713, allocations: 15.12 kB / 1.208 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.9724, allocations: 0.5356 MB / 1.208 GB, free: 4.078 MB / 0.9044 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.004654/0.977, allocations: 3.638 MB / 1.212 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.9784, allocations: 0.6035 MB / 1.213 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.9792, allocations: 377.7 kB / 1.213 GB, free: 484 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.636e-05/0.9792, allocations: 9.297 kB / 1.213 GB, free: 476 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/0.9801, allocations: 379.8 kB / 1.213 GB, free: 240 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 4.028e-06/0.9801, allocations: 0 / 1.213 GB, free: 240 kB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.005307/0.9854, allocations: 1.781 MB / 1.215 GB, free: 15.11 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.9855, allocations: 63.95 kB / 1.215 GB, free: 15.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.988, allocations: 2.259 MB / 1.217 GB, free: 12.77 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.9881, allocations: 37.7 kB / 1.217 GB, free: 12.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/0.9887, allocations: 0.7187 MB / 1.218 GB, free: 12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.9889, allocations: 209 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.9891, allocations: 126.7 kB / 1.218 GB, free: 11.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9892, allocations: 334 kB / 1.219 GB, free: 11.33 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.9898, allocations: 281.8 kB / 1.219 GB, free: 11.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.9906, allocations: 420.7 kB / 1.219 GB, free: 10.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.9918, allocations: 0.6606 MB / 1.22 GB, free: 9.887 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.9918, allocations: 4 kB / 1.22 GB, free: 9.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002366/0.9942, allocations: 1.114 MB / 1.221 GB, free: 8.758 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9942, allocations: 7.938 kB / 1.221 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.9942, allocations: 4 kB / 1.221 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008339/0.995, allocations: 282.7 kB / 1.221 GB, free: 8.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.9955, allocations: 123.7 kB / 1.221 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005402/1.001, allocations: 3.7 MB / 1.225 GB, free: 4.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/1.002, allocations: 95.23 kB / 1.225 GB, free: 4.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/1.002, allocations: 28 kB / 1.225 GB, free: 4.402 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006284/1.002, allocations: 463.8 kB / 1.226 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/1.003, allocations: 158 kB / 1.226 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/1.003, allocations: 187.7 kB / 1.226 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.003, allocations: 4 kB / 1.226 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.003, allocations: 4 kB / 1.226 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/1.003, allocations: 11.92 kB / 1.226 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/1.006, allocations: 2.029 MB / 1.228 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.006, allocations: 4 kB / 1.228 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/1.007, allocations: 67.83 kB / 1.228 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007629/1.008, allocations: 275.4 kB / 1.228 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/1.008, allocations: 15.98 kB / 1.228 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/1.014, allocations: 5.249 MB / 1.233 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.014, allocations: 0 / 1.233 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/1.016, allocations: 1.4 MB / 1.235 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/1.017, allocations: 263 kB / 1.235 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.017, allocations: 19.92 kB / 1.235 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/1.017, allocations: 39.91 kB / 1.235 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.018, allocations: 68.47 kB / 1.235 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/1.018, allocations: 23.98 kB / 1.235 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00193/1.02, allocations: 1.631 MB / 1.237 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.02, allocations: 0 / 1.237 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009925/1.021, allocations: 267.5 kB / 1.237 GB, free: 7.859 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/1.022, allocations: 498.3 kB / 1.237 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002239/1.024, allocations: 0.9575 MB / 1.238 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.024, allocations: 0 / 1.238 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.025, allocations: 0.6792 MB / 1.239 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.027, allocations: 284 kB / 1.239 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/1.032, allocations: 3.181 MB / 1.242 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/1.033, allocations: 1.307 MB / 1.244 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/1.033, allocations: 63.42 kB / 1.244 GB, free: 1 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/1.033, allocations: 0 / 1.244 GB, free: 1 MB / 0.9356 GB Notification: Performance of Templates: time 0.03285/1.066, allocations: 23.64 MB / 1.267 GB, free: 9.402 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time