Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,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.TestCase9") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9,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.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001161/0.001161, allocations: 183.3 kB / 326.5 MB, free: 2.254 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.83/1.83, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008238/0.0008241, allocations: 93.62 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 12.22 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.128/5.347, allocations: 2.469 GB / 3.369 GB, free: 88.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/5.347, allocations: 100.7 kB / 3.369 GB, free: 88.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.169/5.516, allocations: 83.19 MB / 3.45 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/5.516, allocations: 0 / 3.45 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003653/5.517, allocations: 56 kB / 3.45 GB, free: 4.488 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.00608/5.523, allocations: 3.087 MB / 3.453 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/5.523, allocations: 8.031 kB / 3.454 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/5.524, allocations: 352 kB / 3.454 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3865/5.91, allocations: 2.613 MB / 3.456 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/5.91, allocations: 109.6 kB / 3.456 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/5.911, allocations: 86.25 kB / 3.457 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/5.912, allocations: 0.9877 MB / 3.458 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/5.912, allocations: 5.75 kB / 3.458 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/5.912, allocations: 33.91 kB / 3.458 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/5.912, allocations: 20.5 kB / 3.458 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/5.914, allocations: 0.8567 MB / 3.458 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008133/5.922, allocations: 4.893 MB / 3.463 GB, free: 274.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/5.924, allocations: 1.033 MB / 3.464 GB, free: 274.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/5.924, allocations: 13.06 kB / 3.464 GB, free: 274.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/5.925, allocations: 0.6095 MB / 3.465 GB, free: 274 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 4.789e-06/5.925, allocations: 1.594 kB / 3.465 GB, free: 274 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.007175/5.933, allocations: 2.59 MB / 3.467 GB, free: 273.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/5.933, allocations: 67.27 kB / 3.467 GB, free: 273.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009203/5.942, allocations: 4.553 MB / 3.472 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002955/5.942, allocations: 53.8 kB / 3.472 GB, free: 273.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/5.943, allocations: 1.346 MB / 3.473 GB, free: 273.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/5.944, allocations: 334.5 kB / 3.474 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/5.944, allocations: 25.59 kB / 3.474 GB, free: 272.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/5.944, allocations: 350.6 kB / 3.474 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/5.945, allocations: 444.9 kB / 3.474 GB, free: 272.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/5.946, allocations: 0.6074 MB / 3.475 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/5.947, allocations: 0.5052 MB / 3.475 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/5.947, allocations: 1.125 kB / 3.475 GB, free: 272.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003557/5.95, allocations: 1.741 MB / 3.477 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/5.95, allocations: 10.62 kB / 3.477 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/5.95, allocations: 7.688 kB / 3.477 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008667/5.951, allocations: 354.3 kB / 3.477 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/5.952, allocations: 189.4 kB / 3.478 GB, free: 272.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/5.956, allocations: 5.111 MB / 3.483 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/5.958, allocations: 164.7 kB / 3.483 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/5.958, allocations: 32.81 kB / 3.483 GB, free: 269.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition9,$whenCondition8,$PRE.intGai.nextTimeEvent,$whenCondition7,$PRE.reference.nextTimeEvent,$whenCondition6,$PRE.outdoorTemp.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWall.nextTimeEvent,$whenCondition3,$PRE.HSky.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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.001477/5.959, allocations: 0.8656 MB / 3.484 GB, free: 269.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007673/5.96, allocations: 327 kB / 3.484 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003411/5.964, allocations: 1.777 MB / 3.486 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/5.964, allocations: 10.31 kB / 3.486 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/5.964, allocations: 6.625 kB / 3.486 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.964, allocations: 7.844 kB / 3.486 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008934/5.973, allocations: 4.176 MB / 3.49 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/5.973, allocations: 0.7031 kB / 3.49 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/5.973, allocations: 130.5 kB / 3.49 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/5.974, allocations: 329.3 kB / 3.49 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/5.974, allocations: 33.11 kB / 3.49 GB, free: 268.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/5.978, allocations: 5.101 MB / 3.495 GB, free: 266 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/5.978, allocations: 3.953 kB / 3.495 GB, free: 266 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/5.982, allocations: 2.383 MB / 3.498 GB, free: 265.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/5.984, allocations: 0.7207 MB / 3.498 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/5.984, allocations: 33.78 kB / 3.498 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/5.985, allocations: 84.45 kB / 3.498 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/5.985, allocations: 107.2 kB / 3.499 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/5.985, allocations: 34.2 kB / 3.499 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004119/5.99, allocations: 3.632 MB / 3.502 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/5.99, allocations: 6.188 kB / 3.502 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001814/5.991, allocations: 0.6263 MB / 3.503 GB, free: 265.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: 26 ($whenCondition9,$whenCondition8,$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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,HSky.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 15 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,HSky.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,HSky.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001656/5.993, allocations: 0.9942 MB / 3.504 GB, free: 265 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002227/5.995, allocations: 1.454 MB / 3.505 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.995, allocations: 0 / 3.505 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/5.996, allocations: 0.93 MB / 3.506 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/5.998, allocations: 348.4 kB / 3.506 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/6.006, allocations: 7.054 MB / 3.513 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/6.007, allocations: 2.02 MB / 3.515 GB, free: 261 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009065/6.008, allocations: 395.8 kB / 3.516 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/6.009, allocations: 153.1 kB / 3.516 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.213e-06/6.009, allocations: 0 / 3.516 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.04673/6.055, allocations: 31.9 MB / 3.547 GB, free: 255.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches