Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,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.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001084/0.001084, allocations: 187 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001216/0.001216, allocations: 95.88 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.267e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3619, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.759/7.121, allocations: 2.189 GB / 3.408 GB, free: 97.56 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/7.121, allocations: 94.38 kB / 3.408 GB, free: 97.47 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1248/7.246, allocations: 65.08 MB / 3.471 GB, free: 31.85 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.312e-06/7.246, allocations: 0 / 3.471 GB, free: 31.85 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.57e-05/7.246, allocations: 27.98 kB / 3.471 GB, free: 31.82 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001797/7.248, allocations: 1.221 MB / 3.473 GB, free: 30.55 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/7.248, allocations: 12.03 kB / 3.473 GB, free: 30.54 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/7.248, allocations: 146.3 kB / 3.473 GB, free: 30.39 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002814/7.251, allocations: 1.443 MB / 3.474 GB, free: 28.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/7.251, allocations: 82.69 kB / 3.474 GB, free: 28.81 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.5e-05/7.251, allocations: 44 kB / 3.474 GB, free: 28.77 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/7.252, allocations: 479 kB / 3.475 GB, free: 28.29 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/7.252, allocations: 3.906 kB / 3.475 GB, free: 28.28 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/7.252, allocations: 23.98 kB / 3.475 GB, free: 28.26 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/7.252, allocations: 12 kB / 3.475 GB, free: 28.25 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/7.253, allocations: 343.8 kB / 3.475 GB, free: 27.91 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/7.256, allocations: 2.657 MB / 3.478 GB, free: 25.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/7.257, allocations: 377.9 kB / 3.478 GB, free: 24.67 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/7.257, allocations: 278.4 kB / 3.478 GB, free: 24.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/7.257, allocations: 4.328 kB / 3.478 GB, free: 24.39 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/7.257, allocations: 251.5 kB / 3.479 GB, free: 24.14 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 3.096e-06/7.257, allocations: 0 / 3.479 GB, free: 24.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.001053/7.259, allocations: 0.5873 MB / 3.479 GB, free: 23.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/7.259, allocations: 63.28 kB / 3.479 GB, free: 23.46 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/7.261, allocations: 1.556 MB / 3.481 GB, free: 21.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/7.261, allocations: 37.7 kB / 3.481 GB, free: 21.85 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/7.261, allocations: 0.5249 MB / 3.481 GB, free: 21.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/7.261, allocations: 138.1 kB / 3.481 GB, free: 21.19 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/7.261, allocations: 12 kB / 3.482 GB, free: 21.18 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.951e-05/7.261, allocations: 325.9 kB / 3.482 GB, free: 20.85 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/7.262, allocations: 165.1 kB / 3.482 GB, free: 20.69 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/7.262, allocations: 283.2 kB / 3.482 GB, free: 20.37 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/7.262, allocations: 190.1 kB / 3.482 GB, free: 20.18 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/7.262, allocations: 8 kB / 3.482 GB, free: 20.18 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000966/7.263, allocations: 0.7081 MB / 3.483 GB, free: 19.46 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/7.263, allocations: 5.25 kB / 3.483 GB, free: 19.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/7.263, allocations: 4 kB / 3.483 GB, free: 19.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/7.264, allocations: 137.6 kB / 3.483 GB, free: 19.31 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/7.264, allocations: 111.8 kB / 3.483 GB, free: 19.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/7.266, allocations: 2.349 MB / 3.486 GB, free: 16.72 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/7.267, allocations: 91.55 kB / 3.486 GB, free: 16.63 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/7.267, allocations: 20 kB / 3.486 GB, free: 16.61 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: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/7.267, allocations: 154.5 kB / 3.486 GB, free: 16.45 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/7.267, allocations: 122.5 kB / 3.486 GB, free: 16.33 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/7.268, allocations: 0.6501 MB / 3.487 GB, free: 15.66 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/7.268, allocations: 4 kB / 3.487 GB, free: 15.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/7.268, allocations: 4 kB / 3.487 GB, free: 15.65 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/7.268, allocations: 3.984 kB / 3.487 GB, free: 15.65 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/7.27, allocations: 1.667 MB / 3.488 GB, free: 13.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/7.27, allocations: 0 / 3.488 GB, free: 13.92 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/7.271, allocations: 51.91 kB / 3.488 GB, free: 13.87 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/7.271, allocations: 161.6 kB / 3.489 GB, free: 13.71 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/7.271, allocations: 11.98 kB / 3.489 GB, free: 13.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/7.274, allocations: 3.669 MB / 3.492 GB, free: 9.766 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/7.274, allocations: 0 / 3.492 GB, free: 9.766 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/7.275, allocations: 0.9167 MB / 3.493 GB, free: 8.828 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/7.275, allocations: 303.4 kB / 3.493 GB, free: 8.512 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/7.275, allocations: 16 kB / 3.493 GB, free: 8.496 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/7.276, allocations: 39.97 kB / 3.493 GB, free: 8.457 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/7.276, allocations: 59.84 kB / 3.493 GB, free: 8.398 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/7.276, allocations: 19.98 kB / 3.493 GB, free: 8.379 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00133/7.277, allocations: 1.236 MB / 3.495 GB, free: 7.137 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/7.277, allocations: 0 / 3.495 GB, free: 7.137 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009664/7.278, allocations: 307.5 kB / 3.495 GB, free: 6.836 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/7.28, allocations: 0.912 MB / 3.496 GB, free: 6.07 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009601/7.281, allocations: 0.5818 MB / 3.496 GB, free: 5.477 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/7.281, allocations: 0 / 3.496 GB, free: 5.477 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/7.281, allocations: 0.4977 MB / 3.497 GB, free: 4.953 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/7.282, allocations: 186.1 kB / 3.497 GB, free: 4.773 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/7.285, allocations: 2.008 MB / 3.499 GB, free: 2.738 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/7.286, allocations: 1.173 MB / 3.5 GB, free: 1.539 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003361/7.286, allocations: 152.7 kB / 3.5 GB, free: 1.391 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/7.286, allocations: 63.42 kB / 3.5 GB, free: 1.328 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/7.286, allocations: 0 / 3.5 GB, free: 1.328 MB / 1.167 GB Notification: Performance of Templates: time 0.7318/8.018, allocations: 20.05 MB / 3.52 GB, free: 387.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches