Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005228/0.005228, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.001325/0.001325, allocations: 190.4 kB / 16.79 MB, free: 5.805 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 63.89 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7345, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.1683/0.9029, allocations: 156 MB / 1.17 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02709/0.93, allocations: 22.08 MB / 1.191 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.9328, allocations: 63.56 kB / 1.191 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.9355, allocations: 1.953 MB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.938, allocations: 1.281 MB / 1.194 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.94, allocations: 0.6011 MB / 1.195 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.9425, allocations: 2.028 MB / 1.197 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.9443, allocations: 1.056 MB / 1.198 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.9458, allocations: 0.8059 MB / 1.199 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.9478, allocations: 1.436 MB / 1.2 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.9481, allocations: 60 kB / 1.2 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.9486, allocations: 108 kB / 1.2 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.9492, allocations: 0.4998 MB / 1.201 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009862/0.9502, allocations: 0.7756 MB / 1.202 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.9517, allocations: 1.47 MB / 1.203 GB, free: 4 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9517, allocations: 0 / 1.203 GB, free: 4 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9517, allocations: 0 / 1.203 GB, free: 4 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.741e-05/0.9518, allocations: 0 / 1.203 GB, free: 4 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00428/0.9561, allocations: 2.381 MB / 1.205 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.9561, allocations: 8.031 kB / 1.205 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/0.9566, allocations: 245.9 kB / 1.206 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.9582, allocations: 1.043 MB / 1.207 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.9583, allocations: 107.7 kB / 1.207 GB, free: 88 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.9585, allocations: 83.91 kB / 1.207 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.9602, allocations: 0.8613 MB / 1.208 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.9602, allocations: 4 kB / 1.208 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.9603, allocations: 39.92 kB / 1.208 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.9603, allocations: 20 kB / 1.208 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.9618, allocations: 0.6441 MB / 1.208 GB, free: 14.4 MB / 0.9669 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.005821/0.9676, allocations: 4.185 MB / 1.212 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.9691, allocations: 0.7143 MB / 1.213 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007833/0.9699, allocations: 412.6 kB / 1.214 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.97, allocations: 12.66 kB / 1.214 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008371/0.9708, allocations: 432.2 kB / 1.214 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=79): time 3.146e-06/0.9708, allocations: 0 / 1.214 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=79): time 0.006092/0.9769, allocations: 2.111 MB / 1.216 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.977, allocations: 85.77 kB / 1.216 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/0.9807, allocations: 3.199 MB / 1.219 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.9808, allocations: 49.69 kB / 1.219 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/0.9816, allocations: 0.9606 MB / 1.22 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.9819, allocations: 252.5 kB / 1.22 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.9822, allocations: 154.6 kB / 1.221 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9823, allocations: 337.9 kB / 1.221 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007221/0.983, allocations: 321.8 kB / 1.221 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.9838, allocations: 461.4 kB / 1.222 GB, free: 268 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.9852, allocations: 0.7382 MB / 1.222 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.9852, allocations: 4 kB / 1.222 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002487/0.9877, allocations: 1.238 MB / 1.224 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.9877, allocations: 4 kB / 1.224 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.9878, allocations: 7.984 kB / 1.224 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.9888, allocations: 334.9 kB / 1.224 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.9893, allocations: 127.8 kB / 1.224 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00602/0.9954, allocations: 3.786 MB / 1.228 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.9962, allocations: 115.1 kB / 1.228 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.9962, allocations: 35.98 kB / 1.228 GB, free: 9.703 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 34 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.setTemp.nextTimeEvent,$whenCondition4,$whenCondition2,cha.u,$PRE.cha.u,thr.y,timer.entryTime,$PRE.timer.entryTime,not1.y,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,hysteresis.y,$PRE.hysteresis.y,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,$whenCondition1,$whenCondition3,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0008209/0.9971, allocations: 0.5839 MB / 1.228 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.9973, allocations: 209.3 kB / 1.229 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/0.9977, allocations: 253.5 kB / 1.229 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.9977, allocations: 8 kB / 1.229 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.9977, allocations: 0 / 1.229 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9977, allocations: 3.984 kB / 1.229 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/1.002, allocations: 2.413 MB / 1.231 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.002, allocations: 0 / 1.231 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/1.002, allocations: 63.91 kB / 1.231 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009352/1.003, allocations: 334.4 kB / 1.232 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/1.003, allocations: 23.98 kB / 1.232 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007004/1.01, allocations: 5.063 MB / 1.237 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.01, allocations: 0 / 1.237 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/1.014, allocations: 1.575 MB / 1.238 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/1.014, allocations: 310.3 kB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.014, allocations: 27.92 kB / 1.238 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/1.015, allocations: 51.86 kB / 1.239 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/1.015, allocations: 100.5 kB / 1.239 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/1.015, allocations: 27.92 kB / 1.239 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002588/1.018, allocations: 2.334 MB / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 1.241 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001078/1.019, allocations: 335.4 kB / 1.241 GB, free: 11.59 MB / 0.9981 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: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,timer.entryTime,thr.y,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {(3,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/1.02, allocations: 0.4928 MB / 1.242 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.022, allocations: 1.011 MB / 1.243 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.022, allocations: 0 / 1.243 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.023, allocations: 0.7776 MB / 1.243 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/1.025, allocations: 290.1 kB / 1.244 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/1.032, allocations: 4.744 MB / 1.248 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.033, allocations: 1.524 MB / 1.25 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/1.033, allocations: 67.42 kB / 1.25 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.033, allocations: 0 / 1.25 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.499/1.532, allocations: 32.34 MB / 1.282 GB, free: 218.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[2],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[2],time