Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.TestCase11,tolerance=1e-07,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.2.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_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_latest_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.001388/0.001388, allocations: 102.9 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.001461/0.001461, allocations: 189.7 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 60.94 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11): time 0.701/0.9975, allocations: 158.3 MB / 1.219 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02826/1.026, allocations: 22.23 MB / 1.241 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003517/1.029, allocations: 71.62 kB / 1.241 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/1.032, allocations: 1.975 MB / 1.243 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/1.035, allocations: 1.324 MB / 1.244 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/1.037, allocations: 0.6925 MB / 1.244 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002779/1.04, allocations: 1.947 MB / 1.246 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/1.042, allocations: 1.147 MB / 1.248 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/1.043, allocations: 0.8917 MB / 1.248 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001831/1.045, allocations: 1.44 MB / 1.25 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/1.045, allocations: 111.9 kB / 1.25 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/1.046, allocations: 156 kB / 1.25 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003917/1.046, allocations: 0.5156 MB / 1.251 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/1.047, allocations: 0.8224 MB / 1.251 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/1.048, allocations: 1.934 MB / 1.253 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.048, allocations: 0 / 1.253 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/1.048, allocations: 0 / 1.253 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.475e-05/1.048, allocations: 4 kB / 1.253 GB, free: 7.512 MB / 0.9669 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.003278/1.052, allocations: 2.379 MB / 1.256 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.052, allocations: 8.625 kB / 1.256 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/1.052, allocations: 245.9 kB / 1.256 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/1.053, allocations: 1.047 MB / 1.257 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.054, allocations: 99.69 kB / 1.257 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/1.054, allocations: 87.91 kB / 1.257 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.055, allocations: 0.8651 MB / 1.258 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.055, allocations: 3.984 kB / 1.258 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/1.055, allocations: 35.98 kB / 1.258 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/1.055, allocations: 23.94 kB / 1.258 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.056, allocations: 0.6441 MB / 1.259 GB, free: 1.918 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.004866/1.061, allocations: 4.193 MB / 1.263 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/1.063, allocations: 0.7104 MB / 1.263 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/1.063, allocations: 411.2 kB / 1.264 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/1.064, allocations: 20.62 kB / 1.264 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007597/1.064, allocations: 436.2 kB / 1.264 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.056e-06/1.064, allocations: 4 kB / 1.264 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.005767/1.07, allocations: 2.103 MB / 1.266 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.07, allocations: 89.75 kB / 1.266 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/1.073, allocations: 3.195 MB / 1.269 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-05/1.073, allocations: 49.7 kB / 1.269 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007442/1.074, allocations: 0.9645 MB / 1.27 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.074, allocations: 256.5 kB / 1.271 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.075, allocations: 158.6 kB / 1.271 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.075, allocations: 337.9 kB / 1.271 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/1.075, allocations: 309.8 kB / 1.271 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007394/1.076, allocations: 469.4 kB / 1.272 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/1.077, allocations: 0.7343 MB / 1.273 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.077, allocations: 0 / 1.273 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002458/1.08, allocations: 1.238 MB / 1.274 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.08, allocations: 8.219 kB / 1.274 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.08, allocations: 8 kB / 1.274 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009597/1.081, allocations: 323.6 kB / 1.274 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/1.081, allocations: 135.8 kB / 1.274 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/1.088, allocations: 4.062 MB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/1.088, allocations: 107.2 kB / 1.278 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/1.088, allocations: 32 kB / 1.278 GB, free: 12.92 MB / 0.9981 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.0008708/1.089, allocations: 0.5833 MB / 1.279 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.089, allocations: 209.3 kB / 1.279 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/1.09, allocations: 257.5 kB / 1.279 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/1.09, allocations: 8 kB / 1.279 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.09, allocations: 0 / 1.279 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.09, allocations: 7.984 kB / 1.279 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/1.093, allocations: 2.413 MB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.093, allocations: 0 / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/1.094, allocations: 67.89 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/1.094, allocations: 333.5 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/1.095, allocations: 27.92 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/1.101, allocations: 5.552 MB / 1.288 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.101, allocations: 0 / 1.288 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002807/1.104, allocations: 1.571 MB / 1.289 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/1.104, allocations: 318.3 kB / 1.289 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/1.104, allocations: 31.88 kB / 1.289 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/1.105, allocations: 39.95 kB / 1.289 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.105, allocations: 96.52 kB / 1.29 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/1.105, allocations: 27.98 kB / 1.29 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002441/1.108, allocations: 2.334 MB / 1.292 GB, free: 14.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.108, allocations: 0 / 1.292 GB, free: 14.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001117/1.109, allocations: 327.4 kB / 1.292 GB, free: 14.32 MB / 1.014 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.001178/1.11, allocations: 0.4906 MB / 1.293 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002387/1.112, allocations: 1.085 MB / 1.294 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.112, allocations: 3.781 kB / 1.294 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/1.114, allocations: 0.7699 MB / 1.294 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.115, allocations: 296.4 kB / 1.295 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/1.121, allocations: 4.192 MB / 1.299 GB, free: 7.598 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.122, allocations: 1.524 MB / 1.3 GB, free: 6.043 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/1.122, allocations: 75.42 kB / 1.3 GB, free: 5.969 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.123, allocations: 4 kB / 1.3 GB, free: 5.965 MB / 1.014 GB Notification: Performance of Templates: time 0.04488/1.167, allocations: 32.35 MB / 1.332 GB, free: 5.664 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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