Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.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.TestCase9,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.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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.518/2.518, allocations: 393.5 MB / 408.4 MB, free: 11.14 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.00118/0.001181, allocations: 184 kB / 0.4902 GB, free: 2.328 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.873/1.873, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001105/0.001106, allocations: 96.31 kB / 0.9396 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005094, allocations: 12.09 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3917, allocations: 143 MB / 1.229 GB, free: 85.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.685/6.077, allocations: 2.192 GB / 3.421 GB, free: 240.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/6.077, allocations: 100.8 kB / 3.421 GB, free: 240.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1666/6.244, allocations: 84.48 MB / 3.504 GB, free: 155.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/6.244, allocations: 0 / 3.504 GB, free: 155.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003926/6.244, allocations: 51.98 kB / 3.504 GB, free: 155.1 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005936/6.25, allocations: 3.096 MB / 3.507 GB, free: 152 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/6.25, allocations: 8.031 kB / 3.507 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008289/6.251, allocations: 351.6 kB / 3.507 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/6.258, allocations: 2.629 MB / 3.51 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/6.258, allocations: 111.7 kB / 3.51 GB, free: 148.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/6.258, allocations: 88 kB / 3.51 GB, free: 148.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/6.26, allocations: 0.9967 MB / 3.511 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/6.26, allocations: 3.906 kB / 3.511 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/6.261, allocations: 32 kB / 3.511 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/6.261, allocations: 23.95 kB / 3.511 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/6.262, allocations: 0.8588 MB / 3.512 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00882/6.271, allocations: 4.903 MB / 3.517 GB, free: 141.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/6.273, allocations: 1.031 MB / 3.518 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.261e-05/6.273, allocations: 16.95 kB / 3.518 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009465/6.274, allocations: 0.6063 MB / 3.518 GB, free: 140 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.927e-06/6.274, allocations: 0 / 3.518 GB, free: 140 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.005547/6.28, allocations: 2.587 MB / 3.521 GB, free: 137.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/6.28, allocations: 68.41 kB / 3.521 GB, free: 137.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007537/6.287, allocations: 4.552 MB / 3.525 GB, free: 132.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/6.287, allocations: 53.69 kB / 3.525 GB, free: 132.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/6.288, allocations: 1.349 MB / 3.527 GB, free: 131.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000302/6.289, allocations: 331.3 kB / 3.527 GB, free: 131 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/6.289, allocations: 20 kB / 3.527 GB, free: 130.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/6.289, allocations: 357.9 kB / 3.527 GB, free: 130.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007889/6.29, allocations: 450.3 kB / 3.528 GB, free: 130.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/6.291, allocations: 0.6074 MB / 3.528 GB, free: 129.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008235/6.291, allocations: 0.4998 MB / 3.529 GB, free: 129 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/6.291, allocations: 3.938 kB / 3.529 GB, free: 129 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002982/6.294, allocations: 1.747 MB / 3.531 GB, free: 127.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/6.294, allocations: 4 kB / 3.531 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/6.294, allocations: 7.953 kB / 3.531 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/6.295, allocations: 349.5 kB / 3.531 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/6.296, allocations: 195.7 kB / 3.531 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/6.3, allocations: 5.118 MB / 3.536 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/6.302, allocations: 155.1 kB / 3.536 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/6.302, allocations: 39.98 kB / 3.536 GB, free: 121.1 MB / 1.167 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 () * Number of clocked 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.001336/6.303, allocations: 0.8666 MB / 3.537 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/6.304, allocations: 328 kB / 3.538 GB, free: 119.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/6.307, allocations: 1.773 MB / 3.539 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/6.307, allocations: 12 kB / 3.539 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/6.307, allocations: 7.953 kB / 3.539 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/6.307, allocations: 11.97 kB / 3.539 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007364/6.314, allocations: 4.179 MB / 3.543 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/6.314, allocations: 0 / 3.543 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/6.315, allocations: 123.9 kB / 3.544 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/6.316, allocations: 337.4 kB / 3.544 GB, free: 113.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/6.316, allocations: 31.98 kB / 3.544 GB, free: 113.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/6.32, allocations: 5.093 MB / 3.549 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/6.32, allocations: 3.953 kB / 3.549 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/6.325, allocations: 2.387 MB / 3.551 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001929/6.327, allocations: 0.7154 MB / 3.552 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/6.328, allocations: 32 kB / 3.552 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/6.329, allocations: 87.88 kB / 3.552 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/6.329, allocations: 112.7 kB / 3.552 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/6.329, allocations: 35.98 kB / 3.552 GB, free: 104.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005304/6.334, allocations: 3.636 MB / 3.556 GB, free: 101 MB / 1.167 GB Notification: Performance of sort global known variables: time 4e-07/6.334, allocations: 0 / 3.556 GB, free: 101 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002213/6.337, allocations: 0.6321 MB / 3.556 GB, free: 100.3 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: 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) * Number of clocked states: 0 () * 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.001744/6.338, allocations: 1.001 MB / 3.557 GB, free: 99.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00249/6.341, allocations: 1.446 MB / 3.559 GB, free: 98.02 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/6.341, allocations: 0.6875 kB / 3.559 GB, free: 98.02 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00132/6.342, allocations: 0.9314 MB / 3.56 GB, free: 97.07 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/6.344, allocations: 353.2 kB / 3.56 GB, free: 96.73 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/6.354, allocations: 7.047 MB / 3.567 GB, free: 89.65 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/6.356, allocations: 2.035 MB / 3.569 GB, free: 87.58 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009289/6.356, allocations: 400.1 kB / 3.569 GB, free: 87.19 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/6.357, allocations: 155.3 kB / 3.569 GB, free: 87.04 MB / 1.167 GB Notification: Performance of SimCode: time 6.71e-07/6.357, allocations: 0 / 3.569 GB, free: 87.04 MB / 1.167 GB Notification: Performance of Templates: time 0.05068/6.408, allocations: 31.92 MB / 3.6 GB, free: 55.26 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase9.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches