Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001145/0.001145, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001245/0.001245, allocations: 181 kB / 23.36 MB, free: 1.133 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.9849/0.9849, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.425/2.425, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.TestCase1,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.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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.449e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.1452/0.1452, allocations: 138.6 MB / 0.9739 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.1604, allocations: 19.77 MB / 0.9932 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007677/0.1612, allocations: 67.44 kB / 0.9933 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.1623, allocations: 1.157 MB / 0.9944 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1635, allocations: 0.9412 MB / 0.9953 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.1645, allocations: 362.9 kB / 0.9957 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1659, allocations: 1.305 MB / 0.997 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.1665, allocations: 0.5686 MB / 0.9975 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.1679, allocations: 1.395 MB / 0.9989 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.1685, allocations: 0.4943 MB / 0.9994 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.502e-05/0.1686, allocations: 64 kB / 0.9994 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1688, allocations: 107.9 kB / 0.9995 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.1691, allocations: 345.2 kB / 0.9998 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1693, allocations: 299.7 kB / 1 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008287/0.1701, allocations: 0.8443 MB / 1.001 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.1701, allocations: 4 kB / 1.001 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1701, allocations: 0 / 1.001 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.1702, allocations: 0 / 1.001 GB, free: 7.332 MB / 0.9636 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.001429/0.1716, allocations: 1.424 MB / 1.002 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1716, allocations: 8.625 kB / 1.002 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1718, allocations: 120.8 kB / 1.002 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.1726, allocations: 0.7366 MB / 1.003 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.1727, allocations: 100.4 kB / 1.003 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.1727, allocations: 44 kB / 1.003 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.1732, allocations: 362.4 kB / 1.004 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1732, allocations: 11.89 kB / 1.004 GB, free: 4.426 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.1732, allocations: 20 kB / 1.004 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1732, allocations: 8 kB / 1.004 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1734, allocations: 121.8 kB / 1.004 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1749, allocations: 1.133 MB / 1.005 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1753, allocations: 248.5 kB / 1.005 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.1755, allocations: 153.4 kB / 1.005 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1755, allocations: 8.328 kB / 1.005 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1758, allocations: 178.6 kB / 1.005 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 2.444e-06/0.1758, allocations: 0 / 1.005 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001/0.1768, allocations: 0.55 MB / 1.006 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1768, allocations: 59.34 kB / 1.006 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.1775, allocations: 1.011 MB / 1.007 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.1775, allocations: 37.7 kB / 1.007 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1777, allocations: 332.9 kB / 1.007 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.1778, allocations: 154.7 kB / 1.008 GB, free: 348 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1779, allocations: 98.3 kB / 1.008 GB, free: 244 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.178, allocations: 329.9 kB / 1.008 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/0.1781, allocations: 64.05 kB / 1.008 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1782, allocations: 172.2 kB / 1.008 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.1785, allocations: 292.8 kB / 1.008 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1785, allocations: 4 kB / 1.008 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004968/0.179, allocations: 401.3 kB / 1.009 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.179, allocations: 8 kB / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.179, allocations: 4 kB / 1.009 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002655/0.1793, allocations: 102 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1795, allocations: 107.8 kB / 1.009 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1809, allocations: 1.947 MB / 1.011 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.1811, allocations: 63.64 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1812, allocations: 20.03 kB / 1.011 GB, free: 12.55 MB / 0.9792 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.0001798/0.1813, allocations: 154.5 kB / 1.011 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.1814, allocations: 79.92 kB / 1.011 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1819, allocations: 371.6 kB / 1.012 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1819, allocations: 7.984 kB / 1.012 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1819, allocations: 4 kB / 1.012 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1819, allocations: 0 / 1.012 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.1828, allocations: 0.8012 MB / 1.012 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1828, allocations: 0 / 1.012 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.183, allocations: 68.12 kB / 1.013 GB, free: 11.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000272/0.1832, allocations: 179.9 kB / 1.013 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1833, allocations: 15.98 kB / 1.013 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.185, allocations: 3.027 MB / 1.016 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.185, allocations: 4 kB / 1.016 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.1855, allocations: 0.5468 MB / 1.016 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1856, allocations: 115.1 kB / 1.016 GB, free: 6.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.1857, allocations: 15.98 kB / 1.016 GB, free: 6.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1858, allocations: 20.02 kB / 1.016 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1859, allocations: 59.89 kB / 1.016 GB, free: 6.836 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.186, allocations: 11.98 kB / 1.016 GB, free: 6.824 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000344/0.1863, allocations: 470.8 kB / 1.017 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1863, allocations: 0 / 1.017 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004758/0.1868, allocations: 203.7 kB / 1.017 GB, free: 6.16 MB / 0.9792 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.0014/0.1882, allocations: 0.5873 MB / 1.018 GB, free: 5.844 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1887, allocations: 431.8 kB / 1.018 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.1887, allocations: 12 kB / 1.018 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.1891, allocations: 457.9 kB / 1.018 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1896, allocations: 227.4 kB / 1.019 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.192, allocations: 1.838 MB / 1.02 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1922, allocations: 259.2 kB / 1.021 GB, free: 2.547 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.1925, allocations: 142.9 kB / 1.021 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.1928, allocations: 241.2 kB / 1.021 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of SimCode: time 1.593e-06/0.1928, allocations: 0 / 1.021 GB, free: 2.168 MB / 0.9792 GB Notification: Performance of Templates: time 0.01769/0.2105, allocations: 11.87 MB / 1.033 GB, free: 6.535 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.259562022984028]