Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,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.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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.375/1.375, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001092/0.001091, allocations: 181.5 kB / 326.5 MB, free: 2.277 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.581/1.581, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.000875/0.000875, allocations: 86.38 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 9.219 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 106.3 MB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.125/5.335, allocations: 2.467 GB / 3.367 GB, free: 46.48 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/5.335, allocations: 107.7 kB / 3.367 GB, free: 46.42 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6008/5.936, allocations: 72.73 MB / 3.438 GB, free: 297 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.063e-06/5.936, allocations: 2.875 kB / 3.438 GB, free: 297 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003406/5.936, allocations: 36.59 kB / 3.438 GB, free: 297 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.006116/5.943, allocations: 2.188 MB / 3.44 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/5.943, allocations: 9.906 kB / 3.44 GB, free: 295.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/5.944, allocations: 237.5 kB / 3.44 GB, free: 295.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/5.95, allocations: 1.882 MB / 3.442 GB, free: 295.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/5.95, allocations: 89.92 kB / 3.442 GB, free: 295.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/5.95, allocations: 72.59 kB / 3.442 GB, free: 295.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/5.952, allocations: 0.7041 MB / 3.443 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/5.952, allocations: 1.188 kB / 3.443 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.945e-05/5.952, allocations: 28.12 kB / 3.443 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/5.952, allocations: 14.09 kB / 3.443 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/5.953, allocations: 0.5792 MB / 3.444 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007559/5.961, allocations: 3.707 MB / 3.447 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/5.962, allocations: 0.7119 MB / 3.448 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/5.962, allocations: 4.5 kB / 3.448 GB, free: 293.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006827/5.963, allocations: 421.3 kB / 3.448 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 3.015e-06/5.963, allocations: 0 / 3.448 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.004338/5.967, allocations: 1.807 MB / 3.45 GB, free: 293 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/5.967, allocations: 67.81 kB / 3.45 GB, free: 293 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/5.972, allocations: 2.953 MB / 3.453 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.986e-05/5.973, allocations: 44.11 kB / 3.453 GB, free: 292.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/5.973, allocations: 0.8975 MB / 3.454 GB, free: 292.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/5.973, allocations: 217.4 kB / 3.454 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/5.973, allocations: 12.94 kB / 3.454 GB, free: 292.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/5.973, allocations: 336.7 kB / 3.455 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/5.974, allocations: 315.8 kB / 3.455 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/5.975, allocations: 440.4 kB / 3.455 GB, free: 292 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/5.975, allocations: 355.9 kB / 3.456 GB, free: 292 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/5.975, allocations: 0 / 3.456 GB, free: 292 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002095/5.977, allocations: 1.237 MB / 3.457 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/5.977, allocations: 7.875 kB / 3.457 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/5.977, allocations: 8.062 kB / 3.457 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/5.978, allocations: 283.7 kB / 3.457 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/5.979, allocations: 139.1 kB / 3.457 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/5.983, allocations: 4.516 MB / 3.462 GB, free: 289.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/5.984, allocations: 117.9 kB / 3.462 GB, free: 289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/5.984, allocations: 32.27 kB / 3.462 GB, free: 289 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: 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,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) * Number of discrete states: 0 () * Number of clocked 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001353/5.985, allocations: 0.6057 MB / 3.462 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/5.985, allocations: 220.5 kB / 3.463 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/5.987, allocations: 1.191 MB / 3.464 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/5.987, allocations: 6.625 kB / 3.464 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/5.987, allocations: 6.688 kB / 3.464 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/5.987, allocations: 6.656 kB / 3.464 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/5.992, allocations: 2.836 MB / 3.467 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/5.992, allocations: 3.953 kB / 3.467 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/5.993, allocations: 84.2 kB / 3.467 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006094/5.993, allocations: 257 kB / 3.467 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/5.993, allocations: 26.98 kB / 3.467 GB, free: 288.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/5.997, allocations: 4.501 MB / 3.471 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/5.997, allocations: 7.094 kB / 3.471 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/6.001, allocations: 1.611 MB / 3.473 GB, free: 285.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/6.002, allocations: 499.5 kB / 3.473 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/6.003, allocations: 22.59 kB / 3.473 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/6.004, allocations: 61.97 kB / 3.473 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/6.004, allocations: 77.45 kB / 3.474 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/6.004, allocations: 26.08 kB / 3.474 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004405/6.008, allocations: 2.363 MB / 3.476 GB, free: 284.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.01e-07/6.008, allocations: 0 / 3.476 GB, free: 284.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001766/6.01, allocations: 468.7 kB / 3.476 GB, free: 284.9 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: 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) * 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) * Number of clocked states: 0 () * 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 {(2,100.0%) 20,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/6.012, allocations: 0.9722 MB / 3.477 GB, free: 284.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002041/6.014, allocations: 1.078 MB / 3.478 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.014, allocations: 64 / 3.478 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/6.015, allocations: 0.7091 MB / 3.479 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/6.017, allocations: 261 kB / 3.479 GB, free: 283.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/6.023, allocations: 4.782 MB / 3.484 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/6.024, allocations: 1.576 MB / 3.485 GB, free: 281 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005839/6.024, allocations: 258.7 kB / 3.486 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/6.025, allocations: 100.6 kB / 3.486 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/6.025, allocations: 0 / 3.486 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.03722/6.062, allocations: 24.58 MB / 3.51 GB, free: 266.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches