Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.0009166/0.0009166, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009393/0.0009393, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 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.9043/0.9043, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.071/2.071, allocations: 429.5 MB / 0.6733 GB, free: 4.062 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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.616e-05, allocations: 6.062 kB / 0.8781 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1182/0.1182, allocations: 139.3 MB / 1.014 GB, free: 10.46 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.1371, allocations: 19.72 MB / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.1387, allocations: 67.44 kB / 1.033 GB, free: 6.621 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.1399, allocations: 1.172 MB / 1.035 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1414, allocations: 0.9412 MB / 1.036 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00077/0.1422, allocations: 374.9 kB / 1.036 GB, free: 4.133 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1435, allocations: 1.309 MB / 1.037 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007361/0.1442, allocations: 0.5667 MB / 1.038 GB, free: 2.25 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.1459, allocations: 1.846 MB / 1.04 GB, free: 412 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.1464, allocations: 414 kB / 1.04 GB, free: 0 / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.1465, allocations: 64.05 kB / 1.04 GB, free: 15.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.1468, allocations: 107.9 kB / 1.04 GB, free: 15.83 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002158/0.147, allocations: 344.8 kB / 1.04 GB, free: 15.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.1472, allocations: 303.6 kB / 1.041 GB, free: 15.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008717/0.1481, allocations: 0.8637 MB / 1.042 GB, free: 14.33 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1481, allocations: 0 / 1.042 GB, free: 14.33 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1481, allocations: 0 / 1.042 GB, free: 14.33 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.359e-05/0.1481, allocations: 0 / 1.042 GB, free: 14.33 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00194/0.1501, allocations: 1.666 MB / 1.043 GB, free: 12.61 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1501, allocations: 16.03 kB / 1.043 GB, free: 12.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.1503, allocations: 176 kB / 1.043 GB, free: 12.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1513, allocations: 0.8681 MB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1515, allocations: 100.4 kB / 1.044 GB, free: 11.38 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.1515, allocations: 44 kB / 1.044 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.1521, allocations: 392.1 kB / 1.045 GB, free: 10.94 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1522, allocations: 4 kB / 1.045 GB, free: 10.94 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.1522, allocations: 16 kB / 1.045 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.1522, allocations: 8 kB / 1.045 GB, free: 10.91 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1525, allocations: 169.8 kB / 1.045 GB, free: 10.75 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.1547, allocations: 1.818 MB / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1551, allocations: 261.4 kB / 1.047 GB, free: 8.625 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.1554, allocations: 177.8 kB / 1.047 GB, free: 8.449 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1555, allocations: 16.7 kB / 1.047 GB, free: 8.434 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1557, allocations: 193.4 kB / 1.047 GB, free: 8.23 MB / 1.01 GB Notification: Performance of pre-optimization done (n=44): time 3.687e-06/0.1557, allocations: 0 / 1.047 GB, free: 8.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001343/0.1571, allocations: 0.7189 MB / 1.048 GB, free: 7.496 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1571, allocations: 67.33 kB / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/0.158, allocations: 1.108 MB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.1582, allocations: 37.7 kB / 1.049 GB, free: 6.258 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/0.1586, allocations: 0.6387 MB / 1.05 GB, free: 5.617 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.717e-05/0.1586, allocations: 150.8 kB / 1.05 GB, free: 5.469 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1588, allocations: 111.9 kB / 1.05 GB, free: 5.352 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1589, allocations: 0.4965 MB / 1.051 GB, free: 4.848 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.159, allocations: 77.25 kB / 1.051 GB, free: 4.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1593, allocations: 249.5 kB / 1.051 GB, free: 4.461 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.1596, allocations: 348.9 kB / 1.051 GB, free: 4.055 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1596, allocations: 0 / 1.051 GB, free: 4.055 MB / 1.01 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007278/0.1604, allocations: 0.5535 MB / 1.052 GB, free: 3.492 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1604, allocations: 11.98 kB / 1.052 GB, free: 3.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.1604, allocations: 4 kB / 1.052 GB, free: 3.477 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.1607, allocations: 111.7 kB / 1.052 GB, free: 3.363 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1609, allocations: 95.88 kB / 1.052 GB, free: 3.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1628, allocations: 2.628 MB / 1.055 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.163, allocations: 67.59 kB / 1.055 GB, free: 468 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.1631, allocations: 31.97 kB / 1.055 GB, free: 436 kB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.1632, allocations: 190.4 kB / 1.055 GB, free: 236 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1634, allocations: 139.2 kB / 1.055 GB, free: 96 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4226/0.586, allocations: 485.8 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.586, allocations: 5.75 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.586, allocations: 3.812 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.586, allocations: 3.281 kB / 1.055 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.5875, allocations: 1.246 MB / 1.057 GB, free: 73.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5875, allocations: 0 / 1.057 GB, free: 73.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5877, allocations: 47.72 kB / 1.057 GB, free: 73.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002739/0.5879, allocations: 127.4 kB / 1.057 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.588, allocations: 11.28 kB / 1.057 GB, free: 73.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.5898, allocations: 4.623 MB / 1.061 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5898, allocations: 2.891 kB / 1.061 GB, free: 69.66 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.5906, allocations: 0.7266 MB / 1.062 GB, free: 69.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5907, allocations: 142.7 kB / 1.062 GB, free: 69.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.5908, allocations: 13.03 kB / 1.062 GB, free: 69.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.5909, allocations: 25.11 kB / 1.062 GB, free: 69.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.591, allocations: 55.5 kB / 1.062 GB, free: 69.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.5911, allocations: 18.16 kB / 1.062 GB, free: 69.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004827/0.5916, allocations: 0.6376 MB / 1.063 GB, free: 69.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5916, allocations: 2.938 kB / 1.063 GB, free: 69.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005363/0.5921, allocations: 198.2 kB / 1.063 GB, free: 69.23 MB / 1.01 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.001089/0.5932, allocations: 454 kB / 1.064 GB, free: 69.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.5938, allocations: 0.504 MB / 1.064 GB, free: 68.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5938, allocations: 0.9062 kB / 1.064 GB, free: 68.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.5942, allocations: 0.5613 MB / 1.065 GB, free: 68.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.5948, allocations: 244.3 kB / 1.065 GB, free: 68.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.5969, allocations: 1.841 MB / 1.067 GB, free: 67.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.5971, allocations: 279.8 kB / 1.067 GB, free: 67.66 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.5974, allocations: 199.5 kB / 1.067 GB, free: 67.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5976, allocations: 107.5 kB / 1.067 GB, free: 67.63 MB / 1.01 GB Notification: Performance of SimCode: time 9.12e-07/0.5976, allocations: 0.875 kB / 1.067 GB, free: 67.63 MB / 1.01 GB Notification: Performance of Templates: time 0.01521/0.6128, allocations: 11.95 MB / 1.079 GB, free: 66.48 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.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.695078985299915]