Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 10.97 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.002123/0.002123, allocations: 180.8 kB / 491.2 MB, free: 1.586 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.714/1.714, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001209/0.001209, allocations: 87.95 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.588e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.687/7.02, allocations: 2.189 GB / 3.401 GB, free: 88.38 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/7.02, allocations: 92.12 kB / 3.401 GB, free: 88.33 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.14/7.16, allocations: 67.41 MB / 3.467 GB, free: 24.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.514e-06/7.16, allocations: 4 kB / 3.467 GB, free: 24.12 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002413/7.161, allocations: 27.94 kB / 3.467 GB, free: 24.09 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003854/7.165, allocations: 1.373 MB / 3.468 GB, free: 22.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/7.165, allocations: 12.03 kB / 3.468 GB, free: 22.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/7.165, allocations: 158 kB / 3.469 GB, free: 22.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/7.17, allocations: 1.556 MB / 3.47 GB, free: 20.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/7.17, allocations: 63 kB / 3.47 GB, free: 20.83 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/7.17, allocations: 35.98 kB / 3.47 GB, free: 20.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007964/7.171, allocations: 338.5 kB / 3.47 GB, free: 20.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/7.172, allocations: 461.1 kB / 3.471 GB, free: 20 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/7.172, allocations: 11.84 kB / 3.471 GB, free: 19.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/7.172, allocations: 7.984 kB / 3.471 GB, free: 19.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/7.172, allocations: 12 kB / 3.471 GB, free: 19.97 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004847/7.177, allocations: 2.85 MB / 3.474 GB, free: 16.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/7.178, allocations: 403.3 kB / 3.474 GB, free: 16.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/7.178, allocations: 263.2 kB / 3.474 GB, free: 16.24 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/7.178, allocations: 8.359 kB / 3.474 GB, free: 16.23 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/7.179, allocations: 272.3 kB / 3.475 GB, free: 15.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 3.587e-06/7.179, allocations: 4 kB / 3.475 GB, free: 15.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.0016/7.18, allocations: 0.6638 MB / 3.475 GB, free: 15.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/7.18, allocations: 55.84 kB / 3.475 GB, free: 15.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/7.184, allocations: 1.768 MB / 3.477 GB, free: 13.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/7.184, allocations: 37.69 kB / 3.477 GB, free: 13.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/7.185, allocations: 0.597 MB / 3.478 GB, free: 12.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/7.185, allocations: 161.6 kB / 3.478 GB, free: 12.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/7.185, allocations: 0 / 3.478 GB, free: 12.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001291/7.185, allocations: 330 kB / 3.478 GB, free: 12.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/7.185, allocations: 169.5 kB / 3.478 GB, free: 12.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/7.186, allocations: 273.6 kB / 3.479 GB, free: 11.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/7.186, allocations: 199.9 kB / 3.479 GB, free: 11.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/7.186, allocations: 3.984 kB / 3.479 GB, free: 11.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001464/7.187, allocations: 0.7177 MB / 3.479 GB, free: 10.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/7.187, allocations: 8 kB / 3.479 GB, free: 10.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/7.187, allocations: 0.5469 kB / 3.479 GB, free: 10.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/7.188, allocations: 166 kB / 3.48 GB, free: 10.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/7.188, allocations: 111.8 kB / 3.48 GB, free: 10.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/7.192, allocations: 2.548 MB / 3.482 GB, free: 7.949 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008419/7.192, allocations: 87.48 kB / 3.482 GB, free: 7.863 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/7.192, allocations: 24 kB / 3.482 GB, free: 7.84 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002045/7.193, allocations: 131.1 kB / 3.482 GB, free: 7.703 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/7.193, allocations: 142.2 kB / 3.483 GB, free: 7.562 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/7.194, allocations: 0.7212 MB / 3.483 GB, free: 6.816 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/7.194, allocations: 4 kB / 3.483 GB, free: 6.812 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/7.195, allocations: 7.953 kB / 3.483 GB, free: 6.805 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/7.195, allocations: 3.984 kB / 3.483 GB, free: 6.801 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/7.198, allocations: 1.832 MB / 3.485 GB, free: 4.914 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/7.198, allocations: 0 / 3.485 GB, free: 4.914 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/7.198, allocations: 55.91 kB / 3.485 GB, free: 4.859 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/7.198, allocations: 180.1 kB / 3.485 GB, free: 4.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/7.198, allocations: 11.98 kB / 3.485 GB, free: 4.668 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/7.202, allocations: 3.866 MB / 3.489 GB, free: 0.5781 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/7.202, allocations: 3.938 kB / 3.489 GB, free: 0.5742 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.002/8.204, allocations: 1.008 MB / 3.49 GB, free: 380.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/8.205, allocations: 347 kB / 3.49 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/8.205, allocations: 11.72 kB / 3.49 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/8.205, allocations: 46.34 kB / 3.49 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/8.206, allocations: 60.88 kB / 3.491 GB, free: 380.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/8.206, allocations: 18.58 kB / 3.491 GB, free: 380.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002431/8.208, allocations: 1.388 MB / 3.492 GB, free: 379.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/8.208, allocations: 0.5312 kB / 3.492 GB, free: 379.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001521/8.21, allocations: 325.7 kB / 3.492 GB, free: 379.9 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/8.212, allocations: 0.9716 MB / 3.493 GB, free: 379.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001625/8.213, allocations: 0.6332 MB / 3.494 GB, free: 379.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.213, allocations: 0 / 3.494 GB, free: 379.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/8.214, allocations: 0.5083 MB / 3.494 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/8.216, allocations: 200 kB / 3.494 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006247/8.222, allocations: 2.382 MB / 3.497 GB, free: 379 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/8.224, allocations: 1.278 MB / 3.498 GB, free: 378.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007727/8.224, allocations: 162 kB / 3.498 GB, free: 378.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/8.225, allocations: 76.48 kB / 3.498 GB, free: 378.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.522e-06/8.225, allocations: 0 / 3.498 GB, free: 378.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04187/8.267, allocations: 14.72 MB / 3.513 GB, free: 377.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches