Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 99.08 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.579/2.579, allocations: 436.5 MB / 0.7104 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 12 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7992, allocations: 153.6 MB / 1.021 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1525/0.9517, allocations: 132.8 MB / 1.15 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0225/0.9742, allocations: 18.48 MB / 1.169 GB, free: 9.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.9764, allocations: 51.62 kB / 1.169 GB, free: 9.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.9791, allocations: 1.554 MB / 1.17 GB, free: 8.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.9848, allocations: 1.975 MB / 1.172 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.9884, allocations: 1.114 MB / 1.173 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.9903, allocations: 0.9877 MB / 1.174 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007634/0.9911, allocations: 0.6006 MB / 1.175 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.9918, allocations: 0.5296 MB / 1.175 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009304/0.9927, allocations: 0.8455 MB / 1.176 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.9928, allocations: 32 kB / 1.176 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.993, allocations: 67.86 kB / 1.176 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.9933, allocations: 334.9 kB / 1.176 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.9935, allocations: 244.9 kB / 1.177 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.9944, allocations: 1.011 MB / 1.178 GB, free: 328 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.9944, allocations: 0 / 1.178 GB, free: 328 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9944, allocations: 0 / 1.178 GB, free: 328 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.9944, allocations: 0 / 1.178 GB, free: 328 kB / 0.92 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.002469/0.9969, allocations: 1.5 MB / 1.179 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.997, allocations: 11.98 kB / 1.179 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.9972, allocations: 166 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009948/0.9982, allocations: 0.6823 MB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.9984, allocations: 82.69 kB / 1.18 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.654e-05/0.9985, allocations: 63.94 kB / 1.18 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.9995, allocations: 0.573 MB / 1.181 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.9995, allocations: 0 / 1.181 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.9996, allocations: 16 kB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.9996, allocations: 12 kB / 1.181 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/1, allocations: 463.7 kB / 1.181 GB, free: 12.64 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/1.005, allocations: 3.06 MB / 1.184 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.006, allocations: 0.5071 MB / 1.185 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/1.006, allocations: 12.38 kB / 1.185 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/1.006, allocations: 333.7 kB / 1.185 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/1.006, allocations: 4 kB / 1.185 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52): time 0.003142/1.01, allocations: 1.376 MB / 1.186 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.01, allocations: 59.83 kB / 1.186 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/1.012, allocations: 2.112 MB / 1.188 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/1.012, allocations: 45.62 kB / 1.188 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/1.013, allocations: 0.6207 MB / 1.189 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/1.013, allocations: 165.7 kB / 1.189 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/1.013, allocations: 16 kB / 1.189 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.013, allocations: 329.9 kB / 1.19 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/1.014, allocations: 257.1 kB / 1.19 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/1.014, allocations: 365.2 kB / 1.19 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/1.015, allocations: 295.2 kB / 1.19 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.015, allocations: 0 / 1.19 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001852/1.017, allocations: 0.9491 MB / 1.191 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.017, allocations: 8 kB / 1.191 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.017, allocations: 0 / 1.191 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/1.017, allocations: 194.2 kB / 1.192 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/1.018, allocations: 123.9 kB / 1.192 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/1.021, allocations: 2.899 MB / 1.194 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/1.022, allocations: 99.55 kB / 1.195 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/1.022, allocations: 20 kB / 1.195 GB, free: 14.27 MB / 0.9512 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 () * Number of clocked 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.0006417/1.023, allocations: 439.8 kB / 1.195 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.023, allocations: 142.2 kB / 1.195 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/1.023, allocations: 166 kB / 1.195 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.023, allocations: 8 kB / 1.195 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.023, allocations: 8 kB / 1.195 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.023, allocations: 7.938 kB / 1.195 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/1.026, allocations: 1.758 MB / 1.197 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.026, allocations: 4 kB / 1.197 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.026, allocations: 47.97 kB / 1.197 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/1.027, allocations: 208 kB / 1.197 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/1.027, allocations: 12 kB / 1.197 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/1.031, allocations: 4.271 MB / 1.201 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.031, allocations: 0 / 1.201 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/1.033, allocations: 1.193 MB / 1.203 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/1.033, allocations: 251.2 kB / 1.203 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.033, allocations: 16 kB / 1.203 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.034, allocations: 51.89 kB / 1.203 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.034, allocations: 56.34 kB / 1.203 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/1.034, allocations: 23.98 kB / 1.203 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001566/1.035, allocations: 1.545 MB / 1.205 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 0 / 1.205 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008437/1.036, allocations: 223.6 kB / 1.205 GB, free: 3.473 MB / 0.9512 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * 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.001087/1.037, allocations: 487.1 kB / 1.205 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001609/1.039, allocations: 0.7771 MB / 1.206 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/1.039, allocations: 8.125 kB / 1.206 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.04, allocations: 0.5933 MB / 1.207 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/1.041, allocations: 200.5 kB / 1.207 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004591/1.046, allocations: 3.119 MB / 1.21 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008753/1.047, allocations: 1.274 MB / 1.211 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004147/1.047, allocations: 101.1 kB / 1.211 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.047, allocations: 51.42 kB / 1.211 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/1.047, allocations: 0 / 1.211 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.02149/1.069, allocations: 10.35 MB / 1.221 GB, free: 2.754 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches