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.001355/0.001355, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0015/0.0015, allocations: 173 kB / 23.49 MB, free: 1.059 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.9011/0.9011, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.098/2.098, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.423e-06/1.423e-06, allocations: 0 / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.125e-05, allocations: 5.406 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1254/0.1254, allocations: 153 MB / 1.028 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.1439, allocations: 22.06 MB / 1.049 GB, free: 7.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.1452, allocations: 71.44 kB / 1.049 GB, free: 7 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.1465, allocations: 1.168 MB / 1.05 GB, free: 5.828 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.1476, allocations: 0.9413 MB / 1.051 GB, free: 4.883 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.1482, allocations: 390.7 kB / 1.052 GB, free: 4.5 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1493, allocations: 1.309 MB / 1.053 GB, free: 3.188 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.1499, allocations: 0.5706 MB / 1.053 GB, free: 2.613 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.1506, allocations: 0.7249 MB / 1.054 GB, free: 1.887 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007905/0.1514, allocations: 0.9455 MB / 1.055 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.962e-05/0.1514, allocations: 68 kB / 1.055 GB, free: 0.875 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.1516, allocations: 115.8 kB / 1.055 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1518, allocations: 336.7 kB / 1.056 GB, free: 440 kB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.152, allocations: 291 kB / 1.056 GB, free: 148 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4061/0.5581, allocations: 0.8253 MB / 1.057 GB, free: 50.92 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5581, allocations: 0 / 1.057 GB, free: 50.92 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5581, allocations: 0.8125 kB / 1.057 GB, free: 50.92 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.796e-05/0.5582, allocations: 2.875 kB / 1.057 GB, free: 50.92 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.001641/0.5598, allocations: 1.667 MB / 1.058 GB, free: 49.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.5598, allocations: 7.719 kB / 1.058 GB, free: 49.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.56, allocations: 181.3 kB / 1.058 GB, free: 49.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.5609, allocations: 0.9662 MB / 1.059 GB, free: 49.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-05/0.561, allocations: 97.3 kB / 1.059 GB, free: 49.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.5611, allocations: 59.92 kB / 1.06 GB, free: 49.47 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.5616, allocations: 393 kB / 1.06 GB, free: 49.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5616, allocations: 1.688 kB / 1.06 GB, free: 49.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.5617, allocations: 19.94 kB / 1.06 GB, free: 49.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5617, allocations: 11.19 kB / 1.06 GB, free: 49.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.562, allocations: 165.8 kB / 1.06 GB, free: 49.38 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.5639, allocations: 1.813 MB / 1.062 GB, free: 48.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.5643, allocations: 262.6 kB / 1.062 GB, free: 48.75 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.5646, allocations: 180.7 kB / 1.062 GB, free: 48.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.5646, allocations: 10.55 kB / 1.062 GB, free: 48.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.5649, allocations: 187.4 kB / 1.062 GB, free: 48.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.5649, allocations: 0 / 1.062 GB, free: 48.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=44): time 0.001281/0.5662, allocations: 0.7304 MB / 1.063 GB, free: 48.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5662, allocations: 61.81 kB / 1.063 GB, free: 48.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.567, allocations: 1.108 MB / 1.064 GB, free: 48.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.5671, allocations: 43.41 kB / 1.064 GB, free: 48.22 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.5674, allocations: 0.6402 MB / 1.065 GB, free: 48.03 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.5675, allocations: 149.6 kB / 1.065 GB, free: 47.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5677, allocations: 109.9 kB / 1.065 GB, free: 47.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.5677, allocations: 0.4973 MB / 1.066 GB, free: 47.43 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.5679, allocations: 75.64 kB / 1.066 GB, free: 47.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.5681, allocations: 254.5 kB / 1.066 GB, free: 47.24 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5685, allocations: 337.1 kB / 1.066 GB, free: 47.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5685, allocations: 3.469 kB / 1.066 GB, free: 47.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008416/0.5694, allocations: 0.5626 MB / 1.067 GB, free: 46.92 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5694, allocations: 5.625 kB / 1.067 GB, free: 46.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5694, allocations: 3.625 kB / 1.067 GB, free: 46.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/0.5698, allocations: 122.4 kB / 1.067 GB, free: 46.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5701, allocations: 98.73 kB / 1.067 GB, free: 46.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.5718, allocations: 2.623 MB / 1.07 GB, free: 44.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.5721, allocations: 72.33 kB / 1.07 GB, free: 44.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5721, allocations: 20.72 kB / 1.07 GB, free: 44.89 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.0001784/0.5723, allocations: 200.2 kB / 1.07 GB, free: 44.73 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.5724, allocations: 147.4 kB / 1.07 GB, free: 44.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.5731, allocations: 487.3 kB / 1.071 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.5731, allocations: 5.375 kB / 1.071 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5731, allocations: 4.281 kB / 1.071 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.5731, allocations: 3.328 kB / 1.071 GB, free: 44.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.5745, allocations: 1.258 MB / 1.072 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5746, allocations: 0.9375 kB / 1.072 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.5747, allocations: 44.72 kB / 1.072 GB, free: 44.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.575, allocations: 132.4 kB / 1.072 GB, free: 44.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.5751, allocations: 13.89 kB / 1.072 GB, free: 44.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.5772, allocations: 4.623 MB / 1.077 GB, free: 40.27 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5772, allocations: 0.9375 kB / 1.077 GB, free: 40.27 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.578, allocations: 0.7305 MB / 1.077 GB, free: 39.97 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5782, allocations: 144.5 kB / 1.077 GB, free: 39.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.5783, allocations: 18.97 kB / 1.077 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.5785, allocations: 27.59 kB / 1.077 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5786, allocations: 57 kB / 1.077 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.5786, allocations: 15.34 kB / 1.077 GB, free: 39.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006082/0.5793, allocations: 0.6397 MB / 1.078 GB, free: 39.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.5793, allocations: 0.6562 kB / 1.078 GB, free: 39.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00068/0.5799, allocations: 204.9 kB / 1.078 GB, free: 39.72 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.001057/0.581, allocations: 455.4 kB / 1.079 GB, free: 39.58 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007043/0.5817, allocations: 0.5114 MB / 1.079 GB, free: 39.38 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5817, allocations: 3.938 kB / 1.079 GB, free: 39.38 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.5821, allocations: 0.5573 MB / 1.08 GB, free: 39.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.5829, allocations: 247.6 kB / 1.08 GB, free: 38.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.5854, allocations: 1.842 MB / 1.082 GB, free: 38.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.5856, allocations: 272.7 kB / 1.082 GB, free: 38.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004413/0.586, allocations: 211.7 kB / 1.082 GB, free: 38.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.5862, allocations: 127.6 kB / 1.082 GB, free: 38.07 MB / 1.01 GB Notification: Performance of SimCode: time 7.92e-07/0.5862, allocations: 0 / 1.082 GB, free: 38.07 MB / 1.01 GB Notification: Performance of Templates: time 0.01796/0.6042, allocations: 11.34 MB / 1.093 GB, free: 36.88 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.7795519470237195]