Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 178.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008922/0.0008919, allocations: 97.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 9.969 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.191/5.411, allocations: 2.469 GB / 3.369 GB, free: 41.72 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/5.412, allocations: 101.6 kB / 3.369 GB, free: 41.66 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5689/5.981, allocations: 80.1 MB / 3.447 GB, free: 298.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/5.981, allocations: 0 / 3.447 GB, free: 298.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003284/5.981, allocations: 58.88 kB / 3.447 GB, free: 298.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.005989/5.987, allocations: 2.802 MB / 3.45 GB, free: 297 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/5.987, allocations: 10.84 kB / 3.45 GB, free: 297 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/5.988, allocations: 311.7 kB / 3.45 GB, free: 296.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005633/5.994, allocations: 2.452 MB / 3.453 GB, free: 296.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/5.994, allocations: 112.8 kB / 3.453 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/5.994, allocations: 86.34 kB / 3.453 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/5.996, allocations: 0.948 MB / 3.454 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/5.996, allocations: 3.906 kB / 3.454 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/5.996, allocations: 31.34 kB / 3.454 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/5.996, allocations: 19.59 kB / 3.454 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/5.997, allocations: 0.8104 MB / 3.455 GB, free: 296.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00779/6.005, allocations: 4.697 MB / 3.459 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/6.007, allocations: 0.9818 MB / 3.46 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/6.007, allocations: 16.75 kB / 3.46 GB, free: 294.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008597/6.008, allocations: 0.5528 MB / 3.461 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.247e-06/6.008, allocations: 3.812 kB / 3.461 GB, free: 294.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=94): time 0.005827/6.014, allocations: 2.468 MB / 3.463 GB, free: 293.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/6.014, allocations: 68.7 kB / 3.463 GB, free: 293.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008269/6.022, allocations: 3.973 MB / 3.467 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/6.022, allocations: 48.47 kB / 3.467 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001036/6.023, allocations: 1.189 MB / 3.468 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/6.024, allocations: 313.1 kB / 3.469 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/6.024, allocations: 22.84 kB / 3.469 GB, free: 293.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/6.024, allocations: 341.6 kB / 3.469 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007975/6.025, allocations: 415.2 kB / 3.469 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/6.025, allocations: 0.5648 MB / 3.47 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/6.026, allocations: 471.4 kB / 3.47 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/6.026, allocations: 7.828 kB / 3.47 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002988/6.029, allocations: 1.618 MB / 3.472 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/6.029, allocations: 5.656 kB / 3.472 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/6.029, allocations: 5.219 kB / 3.472 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008384/6.03, allocations: 351.8 kB / 3.472 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/6.031, allocations: 176.5 kB / 3.472 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/6.036, allocations: 5.108 MB / 3.477 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/6.037, allocations: 146.6 kB / 3.478 GB, free: 289.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/6.037, allocations: 34.17 kB / 3.478 GB, free: 289.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001478/6.039, allocations: 0.7771 MB / 3.478 GB, free: 289.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007652/6.039, allocations: 288.4 kB / 3.479 GB, free: 289.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003406/6.043, allocations: 1.646 MB / 3.48 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/6.043, allocations: 11.66 kB / 3.48 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/6.043, allocations: 3.875 kB / 3.48 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/6.043, allocations: 3.844 kB / 3.48 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/6.05, allocations: 3.809 MB / 3.484 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.05, allocations: 4 kB / 3.484 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/6.05, allocations: 109.6 kB / 3.484 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007451/6.051, allocations: 330.2 kB / 3.484 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/6.051, allocations: 25.81 kB / 3.484 GB, free: 287 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00424/6.055, allocations: 5.113 MB / 3.489 GB, free: 283.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/6.055, allocations: 0 / 3.489 GB, free: 283.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/6.059, allocations: 2.203 MB / 3.492 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/6.06, allocations: 0.6422 MB / 3.492 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/6.06, allocations: 28 kB / 3.492 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/6.061, allocations: 83.03 kB / 3.492 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/6.061, allocations: 100.5 kB / 3.492 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/6.061, allocations: 43.73 kB / 3.492 GB, free: 281.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003791/6.065, allocations: 3.167 MB / 3.496 GB, free: 278.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-07/6.065, allocations: 0 / 3.496 GB, free: 278.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001463/6.067, allocations: 0.5735 MB / 3.496 GB, free: 278.2 MB / 0.8855 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/6.068, allocations: 0.9858 MB / 3.497 GB, free: 277.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002094/6.07, allocations: 1.366 MB / 3.498 GB, free: 276.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/6.07, allocations: 0 / 3.498 GB, free: 276.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/6.072, allocations: 0.8814 MB / 3.499 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/6.073, allocations: 318.9 kB / 3.5 GB, free: 275.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/6.081, allocations: 6.309 MB / 3.506 GB, free: 269.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/6.082, allocations: 1.887 MB / 3.508 GB, free: 267.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007332/6.083, allocations: 335.1 kB / 3.508 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/6.083, allocations: 135.2 kB / 3.508 GB, free: 267 MB / 0.8855 GB Notification: Performance of SimCode: time 6.91e-07/6.083, allocations: 0 / 3.508 GB, free: 267 MB / 0.8855 GB Notification: Performance of Templates: time 0.04086/6.124, allocations: 29.76 MB / 3.537 GB, free: 237.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches