Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001017/0.001017, allocations: 188.3 kB / 487.4 MB, free: 5.055 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.324/1.324, allocations: 221.5 MB / 0.7824 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 95.91 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.472e-05, allocations: 7.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 142.3 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.855/5.098, allocations: 2.191 GB / 3.397 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/5.098, allocations: 96.08 kB / 3.397 GB, free: 134.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1617/5.26, allocations: 83.27 MB / 3.478 GB, free: 50.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.122e-06/5.26, allocations: 0 / 3.478 GB, free: 50.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004055/5.261, allocations: 55.94 kB / 3.478 GB, free: 50.5 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005161/5.266, allocations: 2.506 MB / 3.48 GB, free: 47.94 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/5.266, allocations: 12.03 kB / 3.48 GB, free: 47.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/5.267, allocations: 352 kB / 3.481 GB, free: 47.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/5.273, allocations: 2.589 MB / 3.483 GB, free: 44.93 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/5.273, allocations: 83.67 kB / 3.483 GB, free: 44.85 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/5.273, allocations: 52 kB / 3.483 GB, free: 44.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00152/5.275, allocations: 0.7302 MB / 3.484 GB, free: 44.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/5.276, allocations: 0.825 MB / 3.485 GB, free: 43.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/5.277, allocations: 0 / 3.485 GB, free: 43.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/5.277, allocations: 3.984 kB / 3.485 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/5.277, allocations: 23.94 kB / 3.485 GB, free: 43.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007757/5.284, allocations: 4.709 MB / 3.49 GB, free: 38.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/5.286, allocations: 0.8965 MB / 3.49 GB, free: 37.33 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/5.286, allocations: 499.6 kB / 3.491 GB, free: 36.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.91e-05/5.287, allocations: 12.77 kB / 3.491 GB, free: 36.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007303/5.287, allocations: 0.5411 MB / 3.492 GB, free: 36.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.068e-06/5.287, allocations: 0 / 3.492 GB, free: 36.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002543/5.29, allocations: 1.432 MB / 3.493 GB, free: 34.81 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/5.29, allocations: 64.72 kB / 3.493 GB, free: 34.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008482/5.298, allocations: 4.309 MB / 3.497 GB, free: 30.44 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/5.299, allocations: 37.69 kB / 3.497 GB, free: 30.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/5.3, allocations: 1.361 MB / 3.499 GB, free: 29.03 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004495/5.301, allocations: 323.4 kB / 3.499 GB, free: 28.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/5.301, allocations: 0 / 3.499 GB, free: 28.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/5.301, allocations: 353.8 kB / 3.499 GB, free: 28.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/5.301, allocations: 354.5 kB / 3.5 GB, free: 28.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/5.302, allocations: 0.5142 MB / 3.5 GB, free: 27.44 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/5.303, allocations: 417.7 kB / 3.5 GB, free: 27.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/5.303, allocations: 0 / 3.5 GB, free: 27.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002677/5.305, allocations: 1.503 MB / 3.502 GB, free: 25.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/5.305, allocations: 8 kB / 3.502 GB, free: 25.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/5.305, allocations: 4 kB / 3.502 GB, free: 25.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008497/5.306, allocations: 332.1 kB / 3.502 GB, free: 25.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/5.307, allocations: 191.7 kB / 3.502 GB, free: 24.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004318/5.311, allocations: 4.799 MB / 3.507 GB, free: 19.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/5.313, allocations: 127.2 kB / 3.507 GB, free: 19.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/5.313, allocations: 39.98 kB / 3.507 GB, free: 19.8 MB / 1.151 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_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,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled,HSky.nextTimeEvent,$PRE.HSky.nextTimeEventScaled,HSky.nextTimeEventScaled) * Number of discrete 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.0002434/5.313, allocations: 150 kB / 3.507 GB, free: 19.65 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/5.314, allocations: 324 kB / 3.508 GB, free: 19.33 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/5.317, allocations: 1.592 MB / 3.509 GB, free: 17.71 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/5.317, allocations: 12 kB / 3.509 GB, free: 17.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/5.317, allocations: 4 kB / 3.509 GB, free: 17.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/5.317, allocations: 7.969 kB / 3.509 GB, free: 17.69 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/5.326, allocations: 3.889 MB / 3.513 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/5.326, allocations: 3.938 kB / 3.513 GB, free: 13.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/5.327, allocations: 119.9 kB / 3.513 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007753/5.327, allocations: 325.5 kB / 3.514 GB, free: 13.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/5.327, allocations: 15.98 kB / 3.514 GB, free: 13.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004265/5.332, allocations: 4.79 MB / 3.518 GB, free: 8.266 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/5.332, allocations: 4 kB / 3.518 GB, free: 8.262 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/5.335, allocations: 2.167 MB / 3.52 GB, free: 6.074 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/5.337, allocations: 0.7039 MB / 3.521 GB, free: 5.348 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006823/5.337, allocations: 23.98 kB / 3.521 GB, free: 5.324 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/5.338, allocations: 67.88 kB / 3.521 GB, free: 5.258 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/5.339, allocations: 105.1 kB / 3.521 GB, free: 5.152 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/5.339, allocations: 36.22 kB / 3.521 GB, free: 5.117 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005254/5.344, allocations: 3.397 MB / 3.525 GB, free: 1.734 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/5.344, allocations: 0 / 3.525 GB, free: 1.734 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002156/5.346, allocations: 0.5891 MB / 3.525 GB, free: 1.145 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: 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_last) * 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) * 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.001719/5.348, allocations: 0.9975 MB / 3.526 GB, free: 260 kB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.6174/5.965, allocations: 1.258 MB / 3.527 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/5.965, allocations: 0.6562 kB / 3.527 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/5.967, allocations: 0.8304 MB / 3.528 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/5.969, allocations: 323.8 kB / 3.528 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/5.978, allocations: 5.322 MB / 3.534 GB, free: 373 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/5.98, allocations: 2.03 MB / 3.536 GB, free: 372.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00136/5.982, allocations: 392.5 kB / 3.536 GB, free: 372.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/5.982, allocations: 149.8 kB / 3.536 GB, free: 372.3 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/5.982, allocations: 3.391 kB / 3.536 GB, free: 372.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05735/6.04, allocations: 25.28 MB / 3.561 GB, free: 371 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches