Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,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.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,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.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.619/2.619, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001199/0.001199, allocations: 190.6 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.783/1.783, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001509/0.001509, allocations: 90.77 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005706/0.0005706, allocations: 7.031 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4825, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.79/7.273, allocations: 2.191 GB / 3.421 GB, free: 200.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/7.273, allocations: 97.45 kB / 3.421 GB, free: 200.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1702/7.443, allocations: 75.75 MB / 3.495 GB, free: 137 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.813e-06/7.443, allocations: 0 / 3.495 GB, free: 137 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003844/7.444, allocations: 39.98 kB / 3.495 GB, free: 137 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006177/7.45, allocations: 2.254 MB / 3.497 GB, free: 134.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/7.45, allocations: 12.56 kB / 3.497 GB, free: 134.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/7.451, allocations: 245.4 kB / 3.497 GB, free: 134.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/7.457, allocations: 1.911 MB / 3.499 GB, free: 132.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/7.457, allocations: 100.2 kB / 3.499 GB, free: 132.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/7.458, allocations: 71.47 kB / 3.499 GB, free: 132.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/7.459, allocations: 0.7578 MB / 3.5 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/7.459, allocations: 6.25 kB / 3.5 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/7.46, allocations: 32.48 kB / 3.5 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/7.46, allocations: 19.94 kB / 3.5 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/7.461, allocations: 0.6222 MB / 3.501 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/7.469, allocations: 3.92 MB / 3.504 GB, free: 128.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/7.47, allocations: 0.7404 MB / 3.505 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.09e-05/7.47, allocations: 8.562 kB / 3.505 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008085/7.471, allocations: 447.5 kB / 3.506 GB, free: 127.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 4.849e-06/7.471, allocations: 4 kB / 3.506 GB, free: 127.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.004718/7.476, allocations: 1.886 MB / 3.507 GB, free: 125.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/7.476, allocations: 60.06 kB / 3.507 GB, free: 125.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006541/7.483, allocations: 3.004 MB / 3.51 GB, free: 122.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/7.483, allocations: 45.7 kB / 3.51 GB, free: 122.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/7.484, allocations: 0.9252 MB / 3.511 GB, free: 121.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/7.484, allocations: 228.8 kB / 3.512 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/7.484, allocations: 20 kB / 3.512 GB, free: 121.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000106/7.484, allocations: 341.9 kB / 3.512 GB, free: 120.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/7.485, allocations: 321.8 kB / 3.512 GB, free: 120.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/7.486, allocations: 476.9 kB / 3.513 GB, free: 119.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/7.486, allocations: 362 kB / 3.513 GB, free: 119.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/7.486, allocations: 0 / 3.513 GB, free: 119.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002788/7.489, allocations: 1.285 MB / 3.514 GB, free: 118.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/7.489, allocations: 11.94 kB / 3.514 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/7.489, allocations: 7.938 kB / 3.514 GB, free: 118.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008138/7.49, allocations: 272.8 kB / 3.515 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/7.491, allocations: 147.8 kB / 3.515 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/7.495, allocations: 4.512 MB / 3.519 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/7.497, allocations: 135.2 kB / 3.519 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/7.497, allocations: 24 kB / 3.519 GB, free: 112.9 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: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001398/7.498, allocations: 0.6146 MB / 3.52 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/7.499, allocations: 221.3 kB / 3.52 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/7.502, allocations: 1.223 MB / 3.521 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/7.502, allocations: 11.94 kB / 3.521 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/7.502, allocations: 4 kB / 3.521 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/7.502, allocations: 3.984 kB / 3.521 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007518/7.51, allocations: 2.916 MB / 3.524 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/7.51, allocations: 0 / 3.524 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/7.51, allocations: 79.89 kB / 3.524 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006671/7.511, allocations: 273.4 kB / 3.524 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/7.511, allocations: 19.98 kB / 3.524 GB, free: 107.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/7.515, allocations: 4.512 MB / 3.529 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/7.515, allocations: 0 / 3.529 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/7.519, allocations: 1.664 MB / 3.53 GB, free: 101 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/7.52, allocations: 0.4904 MB / 3.531 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007577/7.521, allocations: 31.92 kB / 3.531 GB, free: 100.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/7.522, allocations: 71.83 kB / 3.531 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/7.523, allocations: 80.47 kB / 3.531 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/7.523, allocations: 27.98 kB / 3.531 GB, free: 100.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004411/7.527, allocations: 2.394 MB / 3.533 GB, free: 97.89 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/7.527, allocations: 0 / 3.533 GB, free: 97.89 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001973/7.529, allocations: 475.4 kB / 3.534 GB, free: 97.42 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * 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.002205/7.531, allocations: 0.9761 MB / 3.535 GB, free: 96.64 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002326/7.534, allocations: 1.115 MB / 3.536 GB, free: 95.49 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/7.534, allocations: 0 / 3.536 GB, free: 95.49 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/7.535, allocations: 0.7153 MB / 3.537 GB, free: 94.75 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/7.537, allocations: 263 kB / 3.537 GB, free: 94.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/7.545, allocations: 4.881 MB / 3.542 GB, free: 89.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/7.547, allocations: 1.594 MB / 3.543 GB, free: 87.95 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009001/7.548, allocations: 258.2 kB / 3.544 GB, free: 87.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/7.549, allocations: 111.4 kB / 3.544 GB, free: 87.59 MB / 1.167 GB Notification: Performance of SimCode: time 1.944e-06/7.549, allocations: 4 kB / 3.544 GB, free: 87.58 MB / 1.167 GB Notification: Performance of Templates: time 0.04886/7.598, allocations: 25.25 MB / 3.568 GB, free: 62.45 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches