Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.00126/0.00126, allocations: 80.8 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.001398/0.001398, allocations: 161 kB / 24.16 MB, free: 332 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.9139/0.9139, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.779/1.779, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.735e-05, allocations: 2.312 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1316/0.1316, allocations: 138.5 MB / 0.8953 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.1494, allocations: 19.74 MB / 0.9145 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.1507, allocations: 71.44 kB / 0.9146 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1518, allocations: 1.16 MB / 0.9157 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.1529, allocations: 0.9373 MB / 0.9167 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.1535, allocations: 366.9 kB / 0.917 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0009889/0.1545, allocations: 1.309 MB / 0.9183 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.1551, allocations: 0.5764 MB / 0.9189 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008528/0.1559, allocations: 0.8497 MB / 0.9197 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.1565, allocations: 0.7466 MB / 0.9204 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.1566, allocations: 68 kB / 0.9205 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1567, allocations: 104 kB / 0.9206 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1569, allocations: 340.6 kB / 0.9209 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1571, allocations: 283 kB / 0.9212 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.1578, allocations: 0.7977 MB / 0.922 GB, free: 392 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1578, allocations: 0 / 0.922 GB, free: 392 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1578, allocations: 0 / 0.922 GB, free: 392 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1578, allocations: 0 / 0.922 GB, free: 392 kB / 0.8698 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.0012/0.159, allocations: 1.401 MB / 0.9233 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1591, allocations: 20.02 kB / 0.9233 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1592, allocations: 112.8 kB / 0.9234 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.1597, allocations: 0.5609 MB / 0.924 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.926e-05/0.1598, allocations: 92.41 kB / 0.9241 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.1598, allocations: 51.98 kB / 0.9241 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/0.1602, allocations: 366.4 kB / 0.9245 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1602, allocations: 3.984 kB / 0.9245 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.1603, allocations: 16 kB / 0.9245 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1603, allocations: 12 kB / 0.9245 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1604, allocations: 125.7 kB / 0.9246 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.1618, allocations: 1.137 MB / 0.9257 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1621, allocations: 259.8 kB / 0.926 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.1623, allocations: 145.4 kB / 0.9261 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1623, allocations: 16.31 kB / 0.9261 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1625, allocations: 171.3 kB / 0.9263 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 1.473e-06/0.1625, allocations: 0 / 0.9263 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001131/0.1636, allocations: 0.5559 MB / 0.9268 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1636, allocations: 55.41 kB / 0.9269 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.1643, allocations: 1.112 MB / 0.928 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1643, allocations: 41.69 kB / 0.928 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1645, allocations: 321 kB / 0.9283 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.1646, allocations: 154.7 kB / 0.9285 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.1646, allocations: 102.2 kB / 0.9286 GB, free: 9.387 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.1647, allocations: 329.9 kB / 0.9289 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.1648, allocations: 60.11 kB / 0.929 GB, free: 9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1649, allocations: 180.2 kB / 0.9291 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1652, allocations: 282.9 kB / 0.9294 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1652, allocations: 4 kB / 0.9294 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004415/0.1656, allocations: 416.5 kB / 0.9298 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1656, allocations: 8 kB / 0.9298 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1656, allocations: 7.984 kB / 0.9298 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.1659, allocations: 98.23 kB / 0.9299 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1661, allocations: 103.8 kB / 0.93 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.1674, allocations: 1.935 MB / 0.9319 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.1675, allocations: 67.66 kB / 0.932 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1676, allocations: 16 kB / 0.932 GB, free: 5.703 MB / 0.8855 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,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (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 {(2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.1677, allocations: 154.5 kB / 0.9321 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1678, allocations: 71.92 kB / 0.9322 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.1682, allocations: 384.3 kB / 0.9326 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1682, allocations: 4 kB / 0.9326 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1682, allocations: 0 / 0.9326 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1682, allocations: 7.984 kB / 0.9326 GB, free: 5.07 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000804/0.169, allocations: 0.7856 MB / 0.9333 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.169, allocations: 0 / 0.9333 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1691, allocations: 35.98 kB / 0.9334 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.1694, allocations: 188.2 kB / 0.9335 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1694, allocations: 15.98 kB / 0.9336 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.1709, allocations: 3.01 MB / 0.9365 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1709, allocations: 144 / 0.9365 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.1714, allocations: 0.5582 MB / 0.937 GB, free: 248 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1715, allocations: 103.2 kB / 0.9371 GB, free: 144 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.1715, allocations: 15.98 kB / 0.9372 GB, free: 128 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1717, allocations: 23.98 kB / 0.9372 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.1717, allocations: 55.83 kB / 0.9372 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.1717, allocations: 12 kB / 0.9372 GB, free: 36 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003533/0.1721, allocations: 0.5457 MB / 0.9378 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1721, allocations: 4 kB / 0.9378 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003779/0.1725, allocations: 203.7 kB / 0.938 GB, free: 15.28 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * 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.001199/0.1737, allocations: 0.5917 MB / 0.9386 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.1742, allocations: 435.3 kB / 0.939 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.1742, allocations: 12.88 kB / 0.939 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.1745, allocations: 441.6 kB / 0.9394 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.1749, allocations: 214 kB / 0.9396 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.177, allocations: 1.849 MB / 0.9414 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1772, allocations: 258 kB / 0.9417 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.1773, allocations: 84.67 kB / 0.9417 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.1775, allocations: 165.3 kB / 0.9419 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of SimCode: time 7.51e-07/0.1775, allocations: 4 kB / 0.9419 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of Templates: time 0.01376/0.1913, allocations: 11.02 MB / 0.9527 GB, free: 0.6484 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.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.6786329238675535]