Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,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.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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.04/2.04, 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.00102/0.00102, allocations: 188.8 kB / 487.4 MB, free: 5.047 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.339/1.339, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008388/0.0008388, allocations: 99.83 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.482e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.255, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.09, allocations: 2.19 GB / 3.396 GB, free: 134.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.09, allocations: 95.94 kB / 3.396 GB, free: 134.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1615/5.252, allocations: 80.14 MB / 3.475 GB, free: 53.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.142e-06/5.252, allocations: 0 / 3.475 GB, free: 53.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003933/5.252, allocations: 59.86 kB / 3.475 GB, free: 53.44 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005045/5.257, allocations: 2.29 MB / 3.477 GB, free: 51.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/5.257, allocations: 12.03 kB / 3.477 GB, free: 51.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009536/5.258, allocations: 316.4 kB / 3.477 GB, free: 50.77 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/5.263, allocations: 2.431 MB / 3.48 GB, free: 48.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/5.264, allocations: 79.67 kB / 3.48 GB, free: 48.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/5.264, allocations: 52 kB / 3.48 GB, free: 48.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/5.265, allocations: 0.6872 MB / 3.48 GB, free: 47.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/5.267, allocations: 0.786 MB / 3.481 GB, free: 46.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/5.267, allocations: 8 kB / 3.481 GB, free: 46.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/5.267, allocations: 0 / 3.481 GB, free: 46.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/5.267, allocations: 20 kB / 3.481 GB, free: 46.62 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007245/5.274, allocations: 4.516 MB / 3.486 GB, free: 41.83 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/5.275, allocations: 0.8524 MB / 3.486 GB, free: 40.97 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/5.276, allocations: 474.8 kB / 3.487 GB, free: 40.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/5.276, allocations: 8.781 kB / 3.487 GB, free: 40.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/5.277, allocations: 0.4963 MB / 3.487 GB, free: 39.99 MB / 1.151 GB Notification: Performance of pre-optimization done (n=94): time 2.675e-06/5.277, allocations: 3.938 kB / 3.487 GB, free: 39.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=94): time 0.002401/5.279, allocations: 1.311 MB / 3.489 GB, free: 38.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/5.279, allocations: 64.19 kB / 3.489 GB, free: 38.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/5.285, allocations: 3.75 MB / 3.492 GB, free: 34.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/5.285, allocations: 29.69 kB / 3.492 GB, free: 34.78 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008088/5.286, allocations: 1.171 MB / 3.494 GB, free: 33.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000223/5.286, allocations: 283.9 kB / 3.494 GB, free: 33.32 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/5.286, allocations: 0 / 3.494 GB, free: 33.32 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.99e-05/5.286, allocations: 350.7 kB / 3.494 GB, free: 32.97 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/5.287, allocations: 326.5 kB / 3.494 GB, free: 32.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/5.287, allocations: 489.7 kB / 3.495 GB, free: 32.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/5.288, allocations: 385.4 kB / 3.495 GB, free: 31.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/5.288, allocations: 0 / 3.495 GB, free: 31.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002084/5.29, allocations: 1.394 MB / 3.497 GB, free: 30.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/5.29, allocations: 4 kB / 3.497 GB, free: 30.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/5.29, allocations: 4 kB / 3.497 GB, free: 30.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/5.291, allocations: 332.1 kB / 3.497 GB, free: 30 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/5.291, allocations: 183.7 kB / 3.497 GB, free: 29.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/5.295, allocations: 4.807 MB / 3.502 GB, free: 24.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/5.297, allocations: 127.2 kB / 3.502 GB, free: 24.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/5.297, allocations: 36 kB / 3.502 GB, free: 24.62 MB / 1.151 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_last,mean.y_last,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 () * 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.0002156/5.297, allocations: 138.2 kB / 3.502 GB, free: 24.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003304/5.297, allocations: 288.5 kB / 3.502 GB, free: 24.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/5.3, allocations: 1.468 MB / 3.504 GB, free: 22.71 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/5.3, allocations: 8 kB / 3.504 GB, free: 22.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/5.3, allocations: 11.94 kB / 3.504 GB, free: 22.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/5.3, allocations: 7.984 kB / 3.504 GB, free: 22.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004659/5.304, allocations: 3.53 MB / 3.507 GB, free: 19.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/5.304, allocations: 3.984 kB / 3.507 GB, free: 19.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/5.305, allocations: 111.8 kB / 3.507 GB, free: 18.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007047/5.305, allocations: 321.5 kB / 3.508 GB, free: 18.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/5.306, allocations: 19.94 kB / 3.508 GB, free: 18.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/5.31, allocations: 4.792 MB / 3.512 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/5.31, allocations: 0 / 3.512 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/5.313, allocations: 2.005 MB / 3.514 GB, free: 11.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/5.314, allocations: 0.6223 MB / 3.515 GB, free: 10.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/5.315, allocations: 16 kB / 3.515 GB, free: 10.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/5.315, allocations: 71.84 kB / 3.515 GB, free: 10.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/5.315, allocations: 101.2 kB / 3.515 GB, free: 10.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/5.315, allocations: 31.98 kB / 3.515 GB, free: 10.73 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003475/5.319, allocations: 2.953 MB / 3.518 GB, free: 7.781 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/5.319, allocations: 0 / 3.518 GB, free: 7.781 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001597/5.321, allocations: 0.5422 MB / 3.519 GB, free: 7.238 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: 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_last) * 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) * 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.001477/5.322, allocations: 0.9934 MB / 3.52 GB, free: 6.348 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001739/5.324, allocations: 1.176 MB / 3.521 GB, free: 5.145 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.324, allocations: 0 / 3.521 GB, free: 5.145 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/5.325, allocations: 0.7887 MB / 3.522 GB, free: 4.332 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/5.326, allocations: 308.2 kB / 3.522 GB, free: 4.035 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5792/5.906, allocations: 4.731 MB / 3.526 GB, free: 374.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/5.908, allocations: 1.883 MB / 3.528 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001256/5.909, allocations: 333.6 kB / 3.529 GB, free: 374.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/5.909, allocations: 134.8 kB / 3.529 GB, free: 374.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/5.909, allocations: 0 / 3.529 GB, free: 374.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05948/5.969, allocations: 23.38 MB / 3.552 GB, free: 373.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches