Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 184.2 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 95.5 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.855/7.193, allocations: 2.189 GB / 3.401 GB, free: 88.04 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/7.194, allocations: 97.19 kB / 3.402 GB, free: 87.99 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1495/7.343, allocations: 72.82 MB / 3.473 GB, free: 18.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/7.343, allocations: 0 / 3.473 GB, free: 18.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001787/7.344, allocations: 36 kB / 3.473 GB, free: 18.25 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003721/7.347, allocations: 1.809 MB / 3.474 GB, free: 16.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/7.347, allocations: 8.031 kB / 3.475 GB, free: 16.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004837/7.348, allocations: 237.1 kB / 3.475 GB, free: 16.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005008/7.353, allocations: 1.855 MB / 3.477 GB, free: 14.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/7.353, allocations: 67 kB / 3.477 GB, free: 14.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/7.353, allocations: 47.98 kB / 3.477 GB, free: 14.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/7.354, allocations: 482.5 kB / 3.477 GB, free: 13.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/7.356, allocations: 0.5821 MB / 3.478 GB, free: 13.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/7.356, allocations: 11.84 kB / 3.478 GB, free: 13.03 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/7.356, allocations: 0 / 3.478 GB, free: 13.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/7.356, allocations: 15.94 kB / 3.478 GB, free: 13.01 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007797/7.364, allocations: 3.569 MB / 3.481 GB, free: 9.195 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/7.365, allocations: 0.5916 MB / 3.482 GB, free: 8.598 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/7.366, allocations: 335 kB / 3.482 GB, free: 8.262 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/7.366, allocations: 8.562 kB / 3.482 GB, free: 8.254 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/7.367, allocations: 365.7 kB / 3.482 GB, free: 7.883 MB / 1.151 GB Notification: Performance of pre-optimization done (n=69): time 7.204e-06/7.367, allocations: 0 / 3.482 GB, free: 7.883 MB / 1.151 GB Notification: Performance of matching and sorting (n=69): time 0.002759/7.37, allocations: 0.9513 MB / 3.483 GB, free: 6.918 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/7.37, allocations: 59.97 kB / 3.483 GB, free: 6.848 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008458/7.378, allocations: 2.794 MB / 3.486 GB, free: 4.027 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/7.379, allocations: 37.7 kB / 3.486 GB, free: 3.984 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/7.38, allocations: 0.8894 MB / 3.487 GB, free: 3.086 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/7.38, allocations: 213 kB / 3.487 GB, free: 2.875 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.337e-05/7.38, allocations: 0 / 3.487 GB, free: 2.875 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001317/7.38, allocations: 334 kB / 3.488 GB, free: 2.543 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/7.381, allocations: 233.4 kB / 3.488 GB, free: 2.312 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/7.382, allocations: 361.3 kB / 3.488 GB, free: 1.918 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/7.382, allocations: 267.1 kB / 3.488 GB, free: 1.656 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/7.382, allocations: 0 / 3.488 GB, free: 1.656 MB / 1.151 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002801/7.385, allocations: 1.043 MB / 3.489 GB, free: 0.5977 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/7.385, allocations: 8 kB / 3.489 GB, free: 0.5898 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/7.385, allocations: 4 kB / 3.489 GB, free: 0.5859 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/7.386, allocations: 269 kB / 3.49 GB, free: 328 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/7.387, allocations: 135.8 kB / 3.49 GB, free: 192 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8981/8.285, allocations: 4.451 MB / 3.494 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/8.286, allocations: 100.8 kB / 3.494 GB, free: 375 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/8.286, allocations: 31.72 kB / 3.494 GB, free: 375 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001981/8.286, allocations: 135.8 kB / 3.494 GB, free: 374.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/8.287, allocations: 216 kB / 3.495 GB, free: 374.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/8.289, allocations: 1.043 MB / 3.496 GB, free: 374.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/8.289, allocations: 9.906 kB / 3.496 GB, free: 374.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/8.289, allocations: 4.312 kB / 3.496 GB, free: 374.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/8.289, allocations: 4.812 kB / 3.496 GB, free: 374.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/8.295, allocations: 2.618 MB / 3.498 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/8.295, allocations: 0 / 3.498 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/8.295, allocations: 78.11 kB / 3.498 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007258/8.296, allocations: 268.4 kB / 3.499 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/8.296, allocations: 11.12 kB / 3.499 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/8.301, allocations: 4.449 MB / 3.503 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/8.301, allocations: 1.641 kB / 3.503 GB, free: 371.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/8.304, allocations: 1.433 MB / 3.504 GB, free: 371.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/8.305, allocations: 488.5 kB / 3.505 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/8.306, allocations: 17.61 kB / 3.505 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/8.306, allocations: 53.22 kB / 3.505 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/8.306, allocations: 83.67 kB / 3.505 GB, free: 371.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/8.307, allocations: 25.14 kB / 3.505 GB, free: 371.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004203/8.311, allocations: 2.202 MB / 3.507 GB, free: 371.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.311, allocations: 0 / 3.507 GB, free: 371.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002397/8.313, allocations: 432.6 kB / 3.508 GB, free: 371.1 MB / 1.151 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002796/8.316, allocations: 0.9835 MB / 3.508 GB, free: 370.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002374/8.318, allocations: 0.9187 MB / 3.509 GB, free: 370.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/8.318, allocations: 0 / 3.509 GB, free: 370.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/8.32, allocations: 0.6352 MB / 3.51 GB, free: 370.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/8.322, allocations: 243.2 kB / 3.51 GB, free: 370.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008522/8.33, allocations: 3.562 MB / 3.514 GB, free: 369.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/8.332, allocations: 1.574 MB / 3.515 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00118/8.333, allocations: 245.7 kB / 3.515 GB, free: 369.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/8.334, allocations: 105.2 kB / 3.516 GB, free: 369.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.352e-06/8.334, allocations: 0 / 3.516 GB, free: 369.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05237/8.386, allocations: 18.89 MB / 3.534 GB, free: 367.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches