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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 199.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.169/2.169, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.91 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5105, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.145/0.6555, allocations: 157 MB / 1.103 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.6761, allocations: 21.85 MB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.6776, allocations: 55.69 kB / 1.124 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.6792, allocations: 1.34 MB / 1.126 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.6804, allocations: 0.9769 MB / 1.127 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.6815, allocations: 0.5098 MB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.6826, allocations: 1.426 MB / 1.128 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007432/0.6834, allocations: 0.7791 MB / 1.129 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.684, allocations: 0.6503 MB / 1.13 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.6849, allocations: 1.102 MB / 1.131 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.6851, allocations: 72 kB / 1.131 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.6853, allocations: 120 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.6856, allocations: 364.5 kB / 1.131 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.686, allocations: 0.5588 MB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.687, allocations: 1.347 MB / 1.133 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.687, allocations: 0 / 1.133 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.687, allocations: 0 / 1.133 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.6871, allocations: 8 kB / 1.133 GB, free: 4.941 MB / 0.8887 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.00213/0.6892, allocations: 1.679 MB / 1.135 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.6892, allocations: 15.97 kB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/0.6895, allocations: 163 kB / 1.135 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.6903, allocations: 0.7399 MB / 1.136 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.6904, allocations: 82.69 kB / 1.136 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.6905, allocations: 48 kB / 1.136 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.6914, allocations: 0.5691 MB / 1.137 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6914, allocations: 0 / 1.137 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.6914, allocations: 24 kB / 1.137 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.6915, allocations: 12 kB / 1.137 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.6923, allocations: 451.6 kB / 1.137 GB, free: 1.043 MB / 0.8887 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.003237/0.6955, allocations: 3.017 MB / 1.14 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009765/0.6965, allocations: 499.8 kB / 1.14 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.6971, allocations: 311.8 kB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.6971, allocations: 16.34 kB / 1.141 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.6977, allocations: 329 kB / 1.141 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 1.864e-06/0.6977, allocations: 3.938 kB / 1.141 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.002807/0.7005, allocations: 1.348 MB / 1.142 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.7005, allocations: 67.78 kB / 1.142 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.7024, allocations: 2.116 MB / 1.145 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.7024, allocations: 41.7 kB / 1.145 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.7029, allocations: 0.6206 MB / 1.145 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.703, allocations: 169.6 kB / 1.145 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.7032, allocations: 106.3 kB / 1.145 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.7033, allocations: 334 kB / 1.146 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.7037, allocations: 233.2 kB / 1.146 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/0.7043, allocations: 349.9 kB / 1.146 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008929/0.7052, allocations: 0.5537 MB / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7052, allocations: 0 / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001564/0.7068, allocations: 0.91 MB / 1.148 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7068, allocations: 9.094 kB / 1.148 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7068, allocations: 4 kB / 1.148 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000469/0.7073, allocations: 198 kB / 1.148 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.7076, allocations: 107.8 kB / 1.148 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.7108, allocations: 3.039 MB / 1.151 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.7112, allocations: 79.48 kB / 1.151 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.7113, allocations: 20 kB / 1.151 GB, free: 1.996 MB / 0.9044 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.7117, allocations: 443.8 kB / 1.152 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.7119, allocations: 138.2 kB / 1.152 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.7121, allocations: 178 kB / 1.152 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7121, allocations: 7.938 kB / 1.152 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7121, allocations: 4 kB / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.7121, allocations: 0 / 1.152 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.7146, allocations: 1.742 MB / 1.154 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.7146, allocations: 4 kB / 1.154 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.7148, allocations: 47.91 kB / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004392/0.7152, allocations: 197.6 kB / 1.154 GB, free: 15.17 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.7153, allocations: 15.98 kB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.7194, allocations: 4.601 MB / 1.158 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7194, allocations: 0 / 1.158 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.7212, allocations: 1.169 MB / 1.159 GB, free: 9.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.7214, allocations: 235.3 kB / 1.16 GB, free: 8.832 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.7215, allocations: 12 kB / 1.16 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.7219, allocations: 35.97 kB / 1.16 GB, free: 8.785 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.722, allocations: 60.34 kB / 1.16 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.722, allocations: 16 kB / 1.16 GB, free: 8.711 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001431/0.7235, allocations: 1.549 MB / 1.161 GB, free: 7.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7235, allocations: 3.938 kB / 1.161 GB, free: 7.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006616/0.7241, allocations: 223.6 kB / 1.162 GB, free: 6.941 MB / 0.92 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,14,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009759/0.7251, allocations: 487.5 kB / 1.162 GB, free: 6.648 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.7267, allocations: 0.8061 MB / 1.163 GB, free: 5.832 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7267, allocations: 4.125 kB / 1.163 GB, free: 5.828 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.7276, allocations: 0.5815 MB / 1.163 GB, free: 5.219 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.7285, allocations: 226.9 kB / 1.164 GB, free: 5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.7322, allocations: 2.814 MB / 1.166 GB, free: 2.152 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.733, allocations: 1.246 MB / 1.168 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.7333, allocations: 101.1 kB / 1.168 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.7334, allocations: 51.42 kB / 1.168 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7334, allocations: 3.938 kB / 1.168 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of Templates: time 0.01924/0.7526, allocations: 11.45 MB / 1.179 GB, free: 5.422 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches