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.001354/0.001354, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001531/0.001531, allocations: 173 kB / 24.06 MB, free: 452 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.9234/0.9234, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.109/2.109, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.352e-06/1.352e-06, allocations: 0 / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1149/0.115, allocations: 136.6 MB / 1.013 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.1309, allocations: 19.47 MB / 1.032 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1321, allocations: 71.44 kB / 1.032 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1333, allocations: 1.168 MB / 1.033 GB, free: 8.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.1344, allocations: 0.9412 MB / 1.034 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006061/0.135, allocations: 374.8 kB / 1.034 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1361, allocations: 1.309 MB / 1.036 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.1366, allocations: 0.5705 MB / 1.036 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001347/0.1379, allocations: 1.849 MB / 1.038 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.1383, allocations: 398 kB / 1.038 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.941e-05/0.1384, allocations: 72 kB / 1.038 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1386, allocations: 115.9 kB / 1.038 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1388, allocations: 340.8 kB / 1.039 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.139, allocations: 303.7 kB / 1.039 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00073/0.1398, allocations: 0.8636 MB / 1.04 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1398, allocations: 0 / 1.04 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1398, allocations: 0 / 1.04 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1398, allocations: 0 / 1.04 GB, free: 1.055 MB / 0.9948 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.001605/0.1414, allocations: 1.674 MB / 1.042 GB, free: 15.33 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1414, allocations: 8.031 kB / 1.042 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1416, allocations: 188 kB / 1.042 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008665/0.1424, allocations: 0.8602 MB / 1.043 GB, free: 14.21 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/0.1425, allocations: 96.39 kB / 1.043 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1426, allocations: 44 kB / 1.043 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.143, allocations: 368.1 kB / 1.043 GB, free: 13.69 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.143, allocations: 4 kB / 1.043 GB, free: 13.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.143, allocations: 16 kB / 1.043 GB, free: 13.67 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1431, allocations: 8 kB / 1.043 GB, free: 13.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.1433, allocations: 134.8 kB / 1.043 GB, free: 13.53 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.1449, allocations: 1.609 MB / 1.045 GB, free: 11.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1453, allocations: 237.7 kB / 1.045 GB, free: 11.64 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1455, allocations: 165.8 kB / 1.045 GB, free: 11.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1455, allocations: 8.312 kB / 1.045 GB, free: 11.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.1458, allocations: 189.8 kB / 1.045 GB, free: 11.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.1458, allocations: 0 / 1.045 GB, free: 11.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001113/0.1469, allocations: 0.6798 MB / 1.046 GB, free: 10.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1469, allocations: 59.41 kB / 1.046 GB, free: 10.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007272/0.1476, allocations: 1.1 MB / 1.047 GB, free: 9.395 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1477, allocations: 41.64 kB / 1.047 GB, free: 9.348 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.148, allocations: 0.6346 MB / 1.048 GB, free: 8.711 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.892e-05/0.1481, allocations: 150.8 kB / 1.048 GB, free: 8.562 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1482, allocations: 115.9 kB / 1.048 GB, free: 8.441 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002534/0.1485, allocations: 0.4965 MB / 1.049 GB, free: 7.938 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.1486, allocations: 61.25 kB / 1.049 GB, free: 7.875 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.1487, allocations: 233.4 kB / 1.049 GB, free: 7.582 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.149, allocations: 324.2 kB / 1.049 GB, free: 7.199 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.149, allocations: 0 / 1.049 GB, free: 7.199 MB / 1.01 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005555/0.1495, allocations: 0.5193 MB / 1.05 GB, free: 6.672 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1496, allocations: 4 kB / 1.05 GB, free: 6.668 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1496, allocations: 7.938 kB / 1.05 GB, free: 6.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.1498, allocations: 103.1 kB / 1.05 GB, free: 6.559 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.15, allocations: 103.8 kB / 1.05 GB, free: 6.457 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.1515, allocations: 2.552 MB / 1.052 GB, free: 3.789 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1517, allocations: 63.61 kB / 1.052 GB, free: 3.727 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1517, allocations: 19.98 kB / 1.052 GB, free: 3.707 MB / 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.0001657/0.1519, allocations: 198.4 kB / 1.053 GB, free: 3.504 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.152, allocations: 135.2 kB / 1.053 GB, free: 3.371 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.1525, allocations: 455.1 kB / 1.053 GB, free: 2.91 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1525, allocations: 8 kB / 1.053 GB, free: 2.902 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1525, allocations: 7.984 kB / 1.053 GB, free: 2.895 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1526, allocations: 0 / 1.053 GB, free: 2.895 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1537, allocations: 1.034 MB / 1.054 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1537, allocations: 7.984 kB / 1.054 GB, free: 1.809 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.1538, allocations: 39.92 kB / 1.054 GB, free: 1.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.1541, allocations: 134.6 kB / 1.054 GB, free: 1.633 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.1541, allocations: 15.98 kB / 1.054 GB, free: 1.617 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4092/0.5632, allocations: 4.521 MB / 1.059 GB, free: 72.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5632, allocations: 3.234 kB / 1.059 GB, free: 72.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.564, allocations: 0.6708 MB / 1.059 GB, free: 72.24 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.5642, allocations: 138 kB / 1.06 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.5643, allocations: 13.5 kB / 1.06 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.5644, allocations: 24.14 kB / 1.06 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.5645, allocations: 55.56 kB / 1.06 GB, free: 72.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.5645, allocations: 12.62 kB / 1.06 GB, free: 72.23 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004275/0.565, allocations: 0.606 MB / 1.06 GB, free: 72.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.81e-07/0.565, allocations: 0 / 1.06 GB, free: 72.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005898/0.5656, allocations: 204.6 kB / 1.06 GB, free: 72.07 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.0009997/0.5666, allocations: 453.5 kB / 1.061 GB, free: 71.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.5671, allocations: 492.5 kB / 1.061 GB, free: 71.74 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5671, allocations: 2.938 kB / 1.061 GB, free: 71.74 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.5674, allocations: 0.5466 MB / 1.062 GB, free: 71.37 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.5681, allocations: 251 kB / 1.062 GB, free: 71.35 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.5701, allocations: 1.84 MB / 1.064 GB, free: 70.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001739/0.5703, allocations: 269.6 kB / 1.064 GB, free: 70.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005009/0.5708, allocations: 173.7 kB / 1.064 GB, free: 70.47 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.5712, allocations: 290.5 kB / 1.065 GB, free: 70.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.192e-06/0.5712, allocations: 0 / 1.065 GB, free: 70.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01543/0.5867, allocations: 12.38 MB / 1.077 GB, free: 69.3 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.828763816040009]