Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009155/0.0009155, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.0009469/0.0009469, allocations: 161 kB / 24.17 MB, free: 328 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.9769/0.9769, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.792/1.792, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.196e-05, allocations: 3.094 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1168/0.1168, allocations: 138.8 MB / 0.8956 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1329, allocations: 19.85 MB / 0.9149 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.1341, allocations: 75.44 kB / 0.915 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1353, allocations: 1.347 MB / 0.9163 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1364, allocations: 1.062 MB / 0.9174 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.137, allocations: 418.7 kB / 0.9178 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0009781/0.138, allocations: 1.5 MB / 0.9192 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005471/0.1385, allocations: 0.6707 MB / 0.9199 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.1393, allocations: 0.9706 MB / 0.9208 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.14, allocations: 0.9187 MB / 0.9217 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.712e-05/0.1401, allocations: 72 kB / 0.9218 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1403, allocations: 127.9 kB / 0.9219 GB, free: 444 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1405, allocations: 388.2 kB / 0.9223 GB, free: 56 kB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1407, allocations: 330.8 kB / 0.9226 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007014/0.1414, allocations: 0.9106 MB / 0.9235 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1414, allocations: 7.938 kB / 0.9235 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1414, allocations: 0 / 0.9235 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.1414, allocations: 0 / 0.9235 GB, free: 14.81 MB / 0.8855 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.001359/0.1428, allocations: 1.616 MB / 0.9251 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1428, allocations: 16.02 kB / 0.9251 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.143, allocations: 136.7 kB / 0.9252 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.1436, allocations: 0.6345 MB / 0.9258 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/0.1437, allocations: 100.4 kB / 0.9259 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.1437, allocations: 52 kB / 0.926 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.1441, allocations: 406.3 kB / 0.9264 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1442, allocations: 3.953 kB / 0.9264 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.1442, allocations: 20 kB / 0.9264 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1442, allocations: 12 kB / 0.9264 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.1444, allocations: 145.7 kB / 0.9266 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.1459, allocations: 1.247 MB / 0.9278 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.1462, allocations: 278.5 kB / 0.928 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.1464, allocations: 125.5 kB / 0.9282 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1464, allocations: 12.38 kB / 0.9282 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1467, allocations: 212.8 kB / 0.9284 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 1.834e-06/0.1467, allocations: 0 / 0.9284 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.001071/0.1478, allocations: 0.6384 MB / 0.929 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1478, allocations: 59.91 kB / 0.9291 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.1486, allocations: 1.314 MB / 0.9303 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1486, allocations: 41.7 kB / 0.9304 GB, free: 7.555 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.1488, allocations: 362.8 kB / 0.9307 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.1489, allocations: 182.5 kB / 0.9309 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.149, allocations: 98.3 kB / 0.931 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.1491, allocations: 337.8 kB / 0.9313 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.1492, allocations: 68.11 kB / 0.9314 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1493, allocations: 173.9 kB / 0.9315 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1496, allocations: 279.5 kB / 0.9318 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1496, allocations: 0 / 0.9318 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004823/0.15, allocations: 454.2 kB / 0.9322 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1501, allocations: 4 kB / 0.9322 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1501, allocations: 4 kB / 0.9322 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.1503, allocations: 122.4 kB / 0.9324 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.1505, allocations: 103.8 kB / 0.9325 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.152, allocations: 2.086 MB / 0.9345 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1522, allocations: 67.64 kB / 0.9346 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1522, allocations: 12 kB / 0.9346 GB, free: 3.043 MB / 0.8855 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,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) * 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.00017/0.1524, allocations: 167.1 kB / 0.9347 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.1525, allocations: 91.84 kB / 0.9348 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.153, allocations: 441.2 kB / 0.9352 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.153, allocations: 4 kB / 0.9353 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1531, allocations: 4 kB / 0.9353 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1531, allocations: 3.984 kB / 0.9353 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.154, allocations: 0.8987 MB / 0.9361 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.154, allocations: 0 / 0.9361 GB, free: 1.395 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1541, allocations: 51.91 kB / 0.9362 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.1544, allocations: 204.9 kB / 0.9364 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1545, allocations: 12 kB / 0.9364 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.1564, allocations: 3.351 MB / 0.9397 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1564, allocations: 0 / 0.9397 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.157, allocations: 0.6066 MB / 0.9403 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1571, allocations: 138.9 kB / 0.9404 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.1572, allocations: 19.92 kB / 0.9404 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1573, allocations: 27.98 kB / 0.9404 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.1574, allocations: 68.31 kB / 0.9405 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.1575, allocations: 15.98 kB / 0.9405 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004383/0.1579, allocations: 0.6586 MB / 0.9412 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1579, allocations: 7.938 kB / 0.9412 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004356/0.1583, allocations: 231.7 kB / 0.9414 GB, free: 11.8 MB / 0.9011 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 (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.001394/0.1597, allocations: 0.5897 MB / 0.942 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000584/0.1603, allocations: 482.5 kB / 0.9424 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.1603, allocations: 16.06 kB / 0.9424 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/0.1608, allocations: 465.6 kB / 0.9429 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.1614, allocations: 231.8 kB / 0.9431 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.1639, allocations: 2.177 MB / 0.9452 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1641, allocations: 309.3 kB / 0.9455 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.1642, allocations: 89 kB / 0.9456 GB, free: 7.641 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.1645, allocations: 185.3 kB / 0.9458 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.1645, allocations: 0 / 0.9458 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of Templates: time 0.01641/0.1809, allocations: 12.39 MB / 0.9579 GB, free: 11.34 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.6692427061498165]