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.0009946/0.0009946, allocations: 80.94 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.0009482/0.0009482, allocations: 177 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.9374/0.9374, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.329/2.329, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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.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.312e-06/1.312e-06, allocations: 0 / 0.8385 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.193e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1201/0.1201, allocations: 138.5 MB / 0.9738 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01752/0.1376, allocations: 19.76 MB / 0.9931 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1386, allocations: 67.44 kB / 0.9932 GB, free: 15.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1397, allocations: 1.16 MB / 0.9943 GB, free: 14.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.1407, allocations: 0.9412 MB / 0.9952 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.1413, allocations: 362.9 kB / 0.9956 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1426, allocations: 1.309 MB / 0.9969 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.1431, allocations: 0.5725 MB / 0.9974 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.1442, allocations: 1.639 MB / 0.999 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.1446, allocations: 401.9 kB / 0.9994 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.068e-05/0.1447, allocations: 64 kB / 0.9995 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.1448, allocations: 108 kB / 0.9996 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.145, allocations: 340.8 kB / 0.9999 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1452, allocations: 303.7 kB / 1 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.1458, allocations: 0.8637 MB / 1.001 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1458, allocations: 4 kB / 1.001 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1458, allocations: 0 / 1.001 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1459, allocations: 3.938 kB / 1.001 GB, free: 7.191 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.001201/0.1471, allocations: 1.435 MB / 1.002 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1471, allocations: 8.625 kB / 1.002 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1472, allocations: 116.8 kB / 1.003 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.1482, allocations: 0.8148 MB / 1.003 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.682e-05/0.1483, allocations: 96.39 kB / 1.003 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.1484, allocations: 48 kB / 1.003 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.1487, allocations: 362.3 kB / 1.004 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1487, allocations: 11.92 kB / 1.004 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.1488, allocations: 23.94 kB / 1.004 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.1488, allocations: 12 kB / 1.004 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1489, allocations: 117.8 kB / 1.004 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.1502, allocations: 1.153 MB / 1.005 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.1505, allocations: 247 kB / 1.005 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1507, allocations: 145.4 kB / 1.006 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1507, allocations: 8.328 kB / 1.006 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.1509, allocations: 182.6 kB / 1.006 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.1509, allocations: 0 / 1.006 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.0008849/0.1518, allocations: 0.5499 MB / 1.006 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1518, allocations: 55.41 kB / 1.006 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.1524, allocations: 0.8587 MB / 1.007 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.1524, allocations: 37.7 kB / 1.007 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1525, allocations: 336.9 kB / 1.007 GB, free: 384 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.1526, allocations: 150.8 kB / 1.008 GB, free: 232 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.864e-05/0.1527, allocations: 98.28 kB / 1.008 GB, free: 128 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.1528, allocations: 329.9 kB / 1.008 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1528, allocations: 56.11 kB / 1.008 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.153, allocations: 188.1 kB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1532, allocations: 281 kB / 1.009 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1532, allocations: 4 kB / 1.009 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004141/0.1536, allocations: 403.8 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1536, allocations: 8 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1536, allocations: 4 kB / 1.009 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002305/0.1539, allocations: 99.64 kB / 1.009 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.1541, allocations: 95.83 kB / 1.009 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1555, allocations: 1.948 MB / 1.011 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1557, allocations: 55.72 kB / 1.011 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1557, allocations: 19.98 kB / 1.011 GB, free: 12.46 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.0001524/0.1558, allocations: 166.4 kB / 1.011 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.1559, allocations: 75.91 kB / 1.011 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.1563, allocations: 380.3 kB / 1.012 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1563, allocations: 12 kB / 1.012 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1563, allocations: 0 / 1.012 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1563, allocations: 0 / 1.012 GB, free: 11.81 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/0.1571, allocations: 0.8088 MB / 1.012 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1571, allocations: 4 kB / 1.012 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1572, allocations: 47.91 kB / 1.013 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.1574, allocations: 176.3 kB / 1.013 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.1575, allocations: 12 kB / 1.013 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.1589, allocations: 3.012 MB / 1.016 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1589, allocations: 0 / 1.016 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.1594, allocations: 0.5505 MB / 1.016 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1595, allocations: 111.1 kB / 1.016 GB, free: 6.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.1596, allocations: 15.98 kB / 1.016 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1597, allocations: 19.98 kB / 1.016 GB, free: 6.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.1598, allocations: 63.89 kB / 1.016 GB, free: 6.758 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1598, allocations: 11.98 kB / 1.016 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005258/0.1603, allocations: 438.8 kB / 1.017 GB, free: 6.312 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.1603, allocations: 4 kB / 1.017 GB, free: 6.309 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003769/0.1607, allocations: 199.7 kB / 1.017 GB, free: 6.113 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.001242/0.162, allocations: 0.6048 MB / 1.018 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.1624, allocations: 425.5 kB / 1.018 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/0.1624, allocations: 12 kB / 1.018 GB, free: 5.344 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.1627, allocations: 445.8 kB / 1.018 GB, free: 4.879 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.1632, allocations: 236.2 kB / 1.019 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1651, allocations: 1.849 MB / 1.02 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.1652, allocations: 263.5 kB / 1.021 GB, free: 2.484 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.1655, allocations: 175.8 kB / 1.021 GB, free: 2.309 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.1658, allocations: 261.2 kB / 1.021 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of SimCode: time 4.6e-07/0.1658, allocations: 0 / 1.021 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of Templates: time 0.0151/0.1809, allocations: 12.03 MB / 1.033 GB, free: 6.246 MB / 0.9948 GB " [Timeout remaining time 300] 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.11202174378559]