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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 165 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9214/0.9214, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.087/2.087, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|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=86400,variableFilter="time|mean.y|reference.y.[0-9,]+.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8794 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.048e-05, allocations: 6.25 kB / 0.8794 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1782/0.1782, allocations: 136.8 MB / 1.013 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.4762/0.6544, allocations: 19.58 MB / 1.032 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.6564, allocations: 73.72 kB / 1.032 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.6586, allocations: 1.356 MB / 1.034 GB, free: 18.86 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.661, allocations: 1.067 MB / 1.035 GB, free: 18.83 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.6625, allocations: 415.8 kB / 1.035 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002599/0.6651, allocations: 1.497 MB / 1.036 GB, free: 18.82 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.6663, allocations: 0.6729 MB / 1.037 GB, free: 18.77 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.6701, allocations: 2.263 MB / 1.039 GB, free: 18.77 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009748/0.6711, allocations: 455.5 kB / 1.04 GB, free: 18.77 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.6713, allocations: 73.75 kB / 1.04 GB, free: 18.77 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.6718, allocations: 125.9 kB / 1.04 GB, free: 18.76 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.6722, allocations: 406.1 kB / 1.04 GB, free: 18.76 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006982/0.6729, allocations: 344.3 kB / 1.041 GB, free: 18.76 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.6745, allocations: 1.006 MB / 1.042 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6745, allocations: 0 / 1.042 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6745, allocations: 1.062 kB / 1.042 GB, free: 18.61 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.849e-05/0.6746, allocations: 0.7031 kB / 1.042 GB, free: 18.61 MB / 0.9323 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.003082/0.6777, allocations: 1.916 MB / 1.043 GB, free: 17.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6777, allocations: 8.719 kB / 1.043 GB, free: 17.52 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.6781, allocations: 213.1 kB / 1.044 GB, free: 17.42 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.6796, allocations: 1.003 MB / 1.045 GB, free: 17 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.6798, allocations: 104.5 kB / 1.045 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.6798, allocations: 57.3 kB / 1.045 GB, free: 16.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.6805, allocations: 399.1 kB / 1.045 GB, free: 16.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.6805, allocations: 1.484 kB / 1.045 GB, free: 16.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.6805, allocations: 25.59 kB / 1.045 GB, free: 16.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.6805, allocations: 10.97 kB / 1.045 GB, free: 16.84 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.6808, allocations: 145.8 kB / 1.045 GB, free: 16.83 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.6833, allocations: 1.76 MB / 1.047 GB, free: 16.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.6838, allocations: 261.9 kB / 1.047 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.684, allocations: 142.3 kB / 1.047 GB, free: 16.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.684, allocations: 7.156 kB / 1.047 GB, free: 16.14 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.6843, allocations: 215 kB / 1.048 GB, free: 16.08 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=52): time 5.77e-06/0.6843, allocations: 1.031 kB / 1.048 GB, free: 16.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=52): time 0.001672/0.686, allocations: 0.8033 MB / 1.048 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.686, allocations: 58.88 kB / 1.049 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.6876, allocations: 1.292 MB / 1.05 GB, free: 15.61 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.6876, allocations: 40.5 kB / 1.05 GB, free: 15.58 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.6881, allocations: 0.7439 MB / 1.051 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6882, allocations: 184.6 kB / 1.051 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.6883, allocations: 119.9 kB / 1.051 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.6884, allocations: 0.4988 MB / 1.051 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6885, allocations: 63.98 kB / 1.051 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.6887, allocations: 221.4 kB / 1.052 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.689, allocations: 312.1 kB / 1.052 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.689, allocations: 1.094 kB / 1.052 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008322/0.6899, allocations: 0.5775 MB / 1.052 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6899, allocations: 8.688 kB / 1.052 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6899, allocations: 3.219 kB / 1.052 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.6902, allocations: 134.2 kB / 1.053 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.6905, allocations: 101.8 kB / 1.053 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6924, allocations: 2.73 MB / 1.055 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.6928, allocations: 67.62 kB / 1.055 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.6928, allocations: 18.64 kB / 1.055 GB, free: 12.26 MB / 0.9323 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,$PRE.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 (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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003664/0.6932, allocations: 198.7 kB / 1.056 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.6934, allocations: 165.5 kB / 1.056 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008305/0.6942, allocations: 0.5309 MB / 1.056 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.6942, allocations: 5.75 kB / 1.056 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6942, allocations: 5.625 kB / 1.056 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.6942, allocations: 4.422 kB / 1.056 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.696, allocations: 1.199 MB / 1.058 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.696, allocations: 1.406 kB / 1.058 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.6961, allocations: 50.7 kB / 1.058 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.6964, allocations: 136.9 kB / 1.058 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.6965, allocations: 14.47 kB / 1.058 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.6986, allocations: 4.626 MB / 1.062 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6986, allocations: 1.344 kB / 1.062 GB, free: 7.648 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6997, allocations: 0.776 MB / 1.063 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.6999, allocations: 168.5 kB / 1.063 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7, allocations: 16.52 kB / 1.063 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.7002, allocations: 29.08 kB / 1.063 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.7004, allocations: 62.59 kB / 1.063 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.7004, allocations: 18.92 kB / 1.063 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009556/0.7014, allocations: 0.7016 MB / 1.064 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7014, allocations: 0 / 1.064 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008516/0.7022, allocations: 229.4 kB / 1.064 GB, free: 7.059 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (37): * Single equations (assignments): 27 * 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): 2 systems {(2,14,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.001046/0.7033, allocations: 467.6 kB / 1.065 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.7043, allocations: 0.5436 MB / 1.065 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7043, allocations: 1.938 kB / 1.065 GB, free: 6.66 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.7048, allocations: 0.5873 MB / 1.066 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.7057, allocations: 284.8 kB / 1.066 GB, free: 6.25 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.7092, allocations: 2.188 MB / 1.068 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.7095, allocations: 319.8 kB / 1.068 GB, free: 5.203 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006152/0.7101, allocations: 210.8 kB / 1.069 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.7106, allocations: 326.7 kB / 1.069 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/0.7106, allocations: 1.156 kB / 1.069 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of Templates: time 0.02226/0.7329, allocations: 14.14 MB / 1.083 GB, free: 3.449 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.8032360300421715]