Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001337/0.001337, allocations: 180 kB / 0.4902 GB, free: 2.223 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.871/1.871, allocations: 223.1 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 98.8 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004127, allocations: 6.906 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4113, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.65/6.061, allocations: 2.192 GB / 3.421 GB, free: 259.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/6.061, allocations: 97.61 kB / 3.421 GB, free: 259.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1625/6.224, allocations: 81.33 MB / 3.501 GB, free: 177.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/6.224, allocations: 0 / 3.501 GB, free: 177.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003962/6.224, allocations: 48 kB / 3.501 GB, free: 177.4 MB / 1.167 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.005781/6.23, allocations: 2.815 MB / 3.503 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/6.23, allocations: 8.562 kB / 3.503 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/6.231, allocations: 320.5 kB / 3.504 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005957/6.237, allocations: 2.47 MB / 3.506 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/6.237, allocations: 107.7 kB / 3.506 GB, free: 171.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/6.238, allocations: 84 kB / 3.506 GB, free: 171.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/6.239, allocations: 0.946 MB / 3.507 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/6.239, allocations: 4 kB / 3.507 GB, free: 170.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/6.24, allocations: 36 kB / 3.507 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/6.24, allocations: 16 kB / 3.507 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/6.241, allocations: 0.8197 MB / 3.508 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/6.249, allocations: 4.698 MB / 3.513 GB, free: 164.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/6.251, allocations: 0.9842 MB / 3.514 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/6.251, allocations: 9 kB / 3.514 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008421/6.251, allocations: 0.5632 MB / 3.514 GB, free: 163 MB / 1.167 GB Notification: Performance of pre-optimization done (n=94): time 3.456e-06/6.251, allocations: 0 / 3.514 GB, free: 163 MB / 1.167 GB Notification: Performance of matching and sorting (n=94): time 0.005556/6.257, allocations: 2.463 MB / 3.517 GB, free: 160.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/6.257, allocations: 76.33 kB / 3.517 GB, free: 160.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/6.264, allocations: 3.966 MB / 3.521 GB, free: 156.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/6.264, allocations: 49.7 kB / 3.521 GB, free: 156.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/6.265, allocations: 1.199 MB / 3.522 GB, free: 155.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/6.266, allocations: 295.8 kB / 3.522 GB, free: 154.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/6.266, allocations: 24 kB / 3.522 GB, free: 154.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/6.266, allocations: 345.9 kB / 3.522 GB, free: 154.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008027/6.267, allocations: 413.7 kB / 3.523 GB, free: 154.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/6.268, allocations: 0.5673 MB / 3.523 GB, free: 153.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/6.268, allocations: 475.8 kB / 3.524 GB, free: 153.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/6.268, allocations: 0 / 3.524 GB, free: 153.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003005/6.272, allocations: 1.621 MB / 3.525 GB, free: 151.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/6.272, allocations: 4 kB / 3.525 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/6.272, allocations: 4 kB / 3.525 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/6.273, allocations: 348.1 kB / 3.526 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/6.273, allocations: 175.7 kB / 3.526 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/6.278, allocations: 5.123 MB / 3.531 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/6.279, allocations: 147.1 kB / 3.531 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/6.279, allocations: 39.98 kB / 3.531 GB, free: 145.3 MB / 1.167 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 () * 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.001391/6.281, allocations: 0.7746 MB / 3.532 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006536/6.281, allocations: 292.4 kB / 3.532 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/6.285, allocations: 1.636 MB / 3.534 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/6.285, allocations: 12 kB / 3.534 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/6.285, allocations: 4 kB / 3.534 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/6.285, allocations: 7.938 kB / 3.534 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/6.292, allocations: 3.806 MB / 3.537 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/6.292, allocations: 0 / 3.537 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/6.293, allocations: 107.8 kB / 3.538 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007729/6.294, allocations: 333.4 kB / 3.538 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/6.294, allocations: 23.98 kB / 3.538 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/6.298, allocations: 5.118 MB / 3.543 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/6.298, allocations: 3.953 kB / 3.543 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/6.302, allocations: 2.202 MB / 3.545 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/6.304, allocations: 0.6417 MB / 3.546 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/6.304, allocations: 36 kB / 3.546 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/6.305, allocations: 71.94 kB / 3.546 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/6.305, allocations: 96.84 kB / 3.546 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/6.305, allocations: 39.92 kB / 3.546 GB, free: 129.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004275/6.309, allocations: 3.173 MB / 3.549 GB, free: 126.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.309, allocations: 0 / 3.549 GB, free: 126.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001566/6.311, allocations: 0.5775 MB / 3.55 GB, free: 126 MB / 1.167 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) * 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.00161/6.313, allocations: 0.9875 MB / 3.551 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002165/6.315, allocations: 1.371 MB / 3.552 GB, free: 123.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/6.315, allocations: 0 / 3.552 GB, free: 123.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/6.316, allocations: 0.8853 MB / 3.553 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/6.318, allocations: 320.5 kB / 3.553 GB, free: 122.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008586/6.326, allocations: 6.301 MB / 3.559 GB, free: 116.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/6.328, allocations: 1.883 MB / 3.561 GB, free: 114.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009206/6.329, allocations: 355.5 kB / 3.561 GB, free: 114 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/6.33, allocations: 131.3 kB / 3.561 GB, free: 113.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.323e-06/6.33, allocations: 0 / 3.561 GB, free: 113.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04052/6.37, allocations: 29.79 MB / 3.591 GB, free: 84.16 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches