Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.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_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009567/0.0009565, allocations: 172.8 kB / 487.4 MB, free: 5.051 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.4/1.4, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.001052/0.001052, allocations: 107.8 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.558e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2513, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/4.985, allocations: 2.188 GB / 3.394 GB, free: 112.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/4.986, allocations: 85.2 kB / 3.394 GB, free: 112.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1177/5.104, allocations: 64.29 MB / 3.456 GB, free: 52.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.973e-06/5.104, allocations: 0 / 3.456 GB, free: 52.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001306/5.104, allocations: 27.94 kB / 3.456 GB, free: 52.16 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002121/5.106, allocations: 1.226 MB / 3.458 GB, free: 50.89 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/5.106, allocations: 8.031 kB / 3.458 GB, free: 50.88 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/5.106, allocations: 138.3 kB / 3.458 GB, free: 50.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/5.109, allocations: 1.448 MB / 3.459 GB, free: 49.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/5.109, allocations: 59 kB / 3.459 GB, free: 49.18 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.475e-05/5.109, allocations: 35.89 kB / 3.459 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005552/5.11, allocations: 318.5 kB / 3.46 GB, free: 48.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/5.11, allocations: 425 kB / 3.46 GB, free: 48.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/5.111, allocations: 0 / 3.46 GB, free: 48.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/5.111, allocations: 4 kB / 3.46 GB, free: 48.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/5.111, allocations: 8 kB / 3.46 GB, free: 48.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/5.114, allocations: 2.566 MB / 3.463 GB, free: 45.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/5.114, allocations: 356.7 kB / 3.463 GB, free: 45.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003943/5.115, allocations: 264 kB / 3.463 GB, free: 45.03 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/5.115, allocations: 12.31 kB / 3.463 GB, free: 45.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/5.115, allocations: 231.5 kB / 3.463 GB, free: 44.78 MB / 1.151 GB Notification: Performance of pre-optimization done (n=44): time 2.445e-06/5.115, allocations: 0 / 3.463 GB, free: 44.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=44): time 0.0008716/5.116, allocations: 0.56 MB / 3.464 GB, free: 44.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/5.116, allocations: 59.34 kB / 3.464 GB, free: 44.13 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/5.118, allocations: 1.467 MB / 3.465 GB, free: 42.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/5.118, allocations: 29.7 kB / 3.465 GB, free: 42.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/5.118, allocations: 0.5136 MB / 3.466 GB, free: 42.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/5.118, allocations: 146 kB / 3.466 GB, free: 41.96 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/5.118, allocations: 0 / 3.466 GB, free: 41.96 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/5.118, allocations: 326 kB / 3.466 GB, free: 41.63 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/5.118, allocations: 145.1 kB / 3.466 GB, free: 41.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/5.119, allocations: 268.6 kB / 3.467 GB, free: 41.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/5.119, allocations: 190.2 kB / 3.467 GB, free: 41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.119, allocations: 3.938 kB / 3.467 GB, free: 40.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008517/5.12, allocations: 0.6463 MB / 3.468 GB, free: 40.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/5.12, allocations: 8 kB / 3.468 GB, free: 40.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/5.12, allocations: 4 kB / 3.468 GB, free: 40.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/5.12, allocations: 125 kB / 3.468 GB, free: 40.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/5.121, allocations: 119.8 kB / 3.468 GB, free: 40.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/5.122, allocations: 2.254 MB / 3.47 GB, free: 37.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/5.123, allocations: 83.55 kB / 3.47 GB, free: 37.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/5.123, allocations: 23.98 kB / 3.47 GB, free: 37.61 MB / 1.151 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 {(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.926e-05/5.123, allocations: 126.6 kB / 3.47 GB, free: 37.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/5.123, allocations: 126.5 kB / 3.47 GB, free: 37.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/5.124, allocations: 0.6149 MB / 3.471 GB, free: 36.72 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/5.124, allocations: 4 kB / 3.471 GB, free: 36.71 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/5.124, allocations: 4 kB / 3.471 GB, free: 36.71 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/5.124, allocations: 3.984 kB / 3.471 GB, free: 36.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/5.126, allocations: 1.553 MB / 3.472 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/5.126, allocations: 0 / 3.472 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/5.126, allocations: 51.91 kB / 3.473 GB, free: 35.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/5.126, allocations: 160.4 kB / 3.473 GB, free: 34.89 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/5.126, allocations: 11.98 kB / 3.473 GB, free: 34.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/5.129, allocations: 3.527 MB / 3.476 GB, free: 31.13 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/5.129, allocations: 0 / 3.476 GB, free: 31.13 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/5.13, allocations: 0.862 MB / 3.477 GB, free: 30.24 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/5.13, allocations: 299.5 kB / 3.477 GB, free: 29.93 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/5.13, allocations: 12 kB / 3.477 GB, free: 29.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/5.13, allocations: 39.92 kB / 3.477 GB, free: 29.88 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/5.13, allocations: 55.91 kB / 3.477 GB, free: 29.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/5.13, allocations: 15.98 kB / 3.477 GB, free: 29.81 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001001/5.131, allocations: 1.147 MB / 3.478 GB, free: 28.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.31e-07/5.132, allocations: 0 / 3.478 GB, free: 28.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008267/5.132, allocations: 291.5 kB / 3.479 GB, free: 28.37 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: 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.001346/5.134, allocations: 0.9763 MB / 3.48 GB, free: 27.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007847/5.134, allocations: 0.5643 MB / 3.48 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/5.134, allocations: 0 / 3.48 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/5.135, allocations: 475.5 kB / 3.481 GB, free: 26.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007756/5.136, allocations: 163.4 kB / 3.481 GB, free: 26.28 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/5.138, allocations: 1.977 MB / 3.483 GB, free: 24.27 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/5.139, allocations: 1.181 MB / 3.484 GB, free: 23.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003002/5.139, allocations: 140.6 kB / 3.484 GB, free: 22.92 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/5.139, allocations: 67.42 kB / 3.484 GB, free: 22.85 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/5.139, allocations: 4 kB / 3.484 GB, free: 22.85 MB / 1.151 GB Notification: Performance of Templates: time 0.01878/5.158, allocations: 13.2 MB / 3.497 GB, free: 9.742 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches