Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.064/2.064, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001064/0.001063, allocations: 180.8 kB / 487.4 MB, free: 5.062 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.36/1.36, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.0009693/0.0009692, allocations: 99.77 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.128e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 142.3 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/4.984, allocations: 2.188 GB / 3.394 GB, free: 140.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/4.984, allocations: 93.34 kB / 3.394 GB, free: 140.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1266/5.111, allocations: 67.4 MB / 3.46 GB, free: 72.64 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.382e-06/5.111, allocations: 0 / 3.46 GB, free: 72.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000202/5.111, allocations: 32 kB / 3.46 GB, free: 72.61 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00286/5.114, allocations: 1.369 MB / 3.461 GB, free: 71.19 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/5.114, allocations: 8.031 kB / 3.461 GB, free: 71.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005458/5.115, allocations: 166 kB / 3.461 GB, free: 71.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/5.118, allocations: 1.56 MB / 3.463 GB, free: 69.41 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/5.118, allocations: 63 kB / 3.463 GB, free: 69.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/5.119, allocations: 39.89 kB / 3.463 GB, free: 69.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006776/5.119, allocations: 338.5 kB / 3.463 GB, free: 68.97 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/5.12, allocations: 465.1 kB / 3.464 GB, free: 68.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/5.12, allocations: 3.938 kB / 3.464 GB, free: 68.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/5.12, allocations: 7.984 kB / 3.464 GB, free: 68.49 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/5.12, allocations: 12 kB / 3.464 GB, free: 68.48 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003773/5.124, allocations: 2.85 MB / 3.467 GB, free: 65.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/5.125, allocations: 400.5 kB / 3.467 GB, free: 65.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/5.125, allocations: 263.6 kB / 3.467 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/5.125, allocations: 4.375 kB / 3.467 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/5.125, allocations: 276.3 kB / 3.467 GB, free: 64.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/5.125, allocations: 0 / 3.467 GB, free: 64.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.001174/5.127, allocations: 0.6599 MB / 3.468 GB, free: 63.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/5.127, allocations: 63.8 kB / 3.468 GB, free: 63.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/5.129, allocations: 1.764 MB / 3.47 GB, free: 61.94 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/5.129, allocations: 29.7 kB / 3.47 GB, free: 61.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/5.13, allocations: 0.6048 MB / 3.47 GB, free: 61.29 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/5.13, allocations: 161.7 kB / 3.471 GB, free: 61.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/5.13, allocations: 0 / 3.471 GB, free: 61.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/5.13, allocations: 334 kB / 3.471 GB, free: 60.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/5.13, allocations: 165.5 kB / 3.471 GB, free: 60.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/5.13, allocations: 281.6 kB / 3.471 GB, free: 60.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/5.131, allocations: 190.9 kB / 3.472 GB, free: 60.13 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/5.131, allocations: 3.938 kB / 3.472 GB, free: 60.13 MB / 1.151 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009992/5.132, allocations: 0.7311 MB / 3.472 GB, free: 59.39 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/5.132, allocations: 8 kB / 3.472 GB, free: 59.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/5.132, allocations: 4 kB / 3.472 GB, free: 59.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/5.132, allocations: 157.8 kB / 3.472 GB, free: 59.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/5.132, allocations: 119.9 kB / 3.473 GB, free: 59.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/5.135, allocations: 2.546 MB / 3.475 GB, free: 56.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/5.135, allocations: 83.55 kB / 3.475 GB, free: 56.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/5.135, allocations: 20 kB / 3.475 GB, free: 56.35 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/5.135, allocations: 127.1 kB / 3.475 GB, free: 56.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/5.136, allocations: 146.2 kB / 3.475 GB, free: 56.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/5.137, allocations: 0.7212 MB / 3.476 GB, free: 55.33 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/5.137, allocations: 4 kB / 3.476 GB, free: 55.32 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/5.137, allocations: 4 kB / 3.476 GB, free: 55.32 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/5.137, allocations: 11.94 kB / 3.476 GB, free: 55.31 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/5.139, allocations: 1.832 MB / 3.478 GB, free: 53.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/5.139, allocations: 3.984 kB / 3.478 GB, free: 53.42 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/5.139, allocations: 55.91 kB / 3.478 GB, free: 53.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003471/5.139, allocations: 181.5 kB / 3.478 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/5.139, allocations: 7.984 kB / 3.478 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/5.142, allocations: 3.861 MB / 3.482 GB, free: 49.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/5.142, allocations: 64 / 3.482 GB, free: 49.09 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/5.143, allocations: 1.021 MB / 3.483 GB, free: 48.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/5.144, allocations: 351.4 kB / 3.483 GB, free: 47.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/5.144, allocations: 19.98 kB / 3.483 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/5.144, allocations: 35.97 kB / 3.483 GB, free: 47.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/5.144, allocations: 64.44 kB / 3.483 GB, free: 47.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/5.144, allocations: 20 kB / 3.483 GB, free: 47.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001291/5.146, allocations: 1.388 MB / 3.485 GB, free: 46.15 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.032e-06/5.146, allocations: 0 / 3.485 GB, free: 46.15 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009332/5.147, allocations: 331.4 kB / 3.485 GB, free: 45.83 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/5.148, allocations: 0.9787 MB / 3.486 GB, free: 44.95 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008909/5.149, allocations: 0.6209 MB / 3.487 GB, free: 44.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.149, allocations: 0 / 3.487 GB, free: 44.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/5.15, allocations: 0.5136 MB / 3.487 GB, free: 43.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/5.15, allocations: 191.6 kB / 3.487 GB, free: 43.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/5.153, allocations: 2.383 MB / 3.49 GB, free: 41.18 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/5.154, allocations: 1.27 MB / 3.491 GB, free: 39.88 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003108/5.154, allocations: 172.8 kB / 3.491 GB, free: 39.71 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/5.155, allocations: 79.36 kB / 3.491 GB, free: 39.63 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/5.155, allocations: 0 / 3.491 GB, free: 39.63 MB / 1.151 GB Notification: Performance of Templates: time 0.02084/5.175, allocations: 14.71 MB / 3.505 GB, free: 25.03 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches