Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001287/0.001287, allocations: 104.5 kB / 16.27 MB, free: 6.355 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.00125/0.00125, allocations: 192.6 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437.1 MB / 0.7111 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.27 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6904/1.046, allocations: 157 MB / 1.171 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02924/1.075, allocations: 21.88 MB / 1.193 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/1.078, allocations: 56.53 kB / 1.193 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/1.08, allocations: 1.338 MB / 1.194 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/1.082, allocations: 0.9689 MB / 1.195 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/1.083, allocations: 0.4986 MB / 1.195 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001776/1.085, allocations: 1.426 MB / 1.197 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/1.086, allocations: 0.785 MB / 1.198 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/1.087, allocations: 0.6464 MB / 1.198 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.088, allocations: 1.106 MB / 1.199 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1.088, allocations: 74.19 kB / 1.199 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/1.089, allocations: 123.2 kB / 1.2 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003294/1.089, allocations: 373.5 kB / 1.2 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006528/1.09, allocations: 0.5531 MB / 1.2 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001637/1.091, allocations: 1.342 MB / 1.202 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.091, allocations: 2.75 kB / 1.202 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.505e-06/1.091, allocations: 0 / 1.202 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.972e-05/1.091, allocations: 0 / 1.202 GB, free: 9.055 MB / 0.9044 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.002744/1.094, allocations: 1.686 MB / 1.203 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.094, allocations: 8.609 kB / 1.203 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/1.094, allocations: 161 kB / 1.204 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/1.095, allocations: 0.7433 MB / 1.204 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/1.095, allocations: 78.59 kB / 1.204 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/1.095, allocations: 51.19 kB / 1.204 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/1.096, allocations: 0.5717 MB / 1.205 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/1.097, allocations: 5.719 kB / 1.205 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/1.097, allocations: 23.27 kB / 1.205 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.097, allocations: 12.25 kB / 1.205 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008983/1.097, allocations: 444.8 kB / 1.205 GB, free: 6.387 MB / 0.9044 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.004016/1.102, allocations: 3.015 MB / 1.208 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.103, allocations: 0.498 MB / 1.209 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/1.103, allocations: 315.4 kB / 1.209 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/1.103, allocations: 7.75 kB / 1.209 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006253/1.104, allocations: 329.1 kB / 1.209 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.845e-06/1.104, allocations: 0 / 1.209 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.003125/1.107, allocations: 1.348 MB / 1.211 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/1.107, allocations: 64.89 kB / 1.211 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.109, allocations: 2.117 MB / 1.213 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/1.109, allocations: 37.7 kB / 1.213 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.11, allocations: 0.6245 MB / 1.214 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/1.11, allocations: 170.2 kB / 1.214 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.11, allocations: 102.3 kB / 1.214 GB, free: 400 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.11, allocations: 329.9 kB / 1.214 GB, free: 64 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.111, allocations: 237.2 kB / 1.214 GB, free: 15.83 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006373/1.112, allocations: 345.9 kB / 1.215 GB, free: 15.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.113, allocations: 0.5605 MB / 1.215 GB, free: 14.86 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.113, allocations: 0 / 1.215 GB, free: 14.86 MB / 0.92 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001849/1.114, allocations: 0.908 MB / 1.216 GB, free: 13.94 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.114, allocations: 8 kB / 1.216 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.115, allocations: 0 / 1.216 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/1.115, allocations: 196.8 kB / 1.216 GB, free: 13.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/1.115, allocations: 107.8 kB / 1.216 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/1.119, allocations: 3.064 MB / 1.219 GB, free: 10.44 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.12, allocations: 75.48 kB / 1.22 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/1.12, allocations: 23.98 kB / 1.22 GB, free: 10.34 MB / 0.92 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.0006298/1.121, allocations: 435.7 kB / 1.22 GB, free: 9.906 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/1.121, allocations: 146.3 kB / 1.22 GB, free: 9.762 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/1.121, allocations: 162 kB / 1.22 GB, free: 9.59 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.121, allocations: 8 kB / 1.22 GB, free: 9.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/1.121, allocations: 3.938 kB / 1.22 GB, free: 9.578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.121, allocations: 7.984 kB / 1.22 GB, free: 9.57 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/1.124, allocations: 1.734 MB / 1.222 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.124, allocations: 0 / 1.222 GB, free: 7.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/1.124, allocations: 51.91 kB / 1.222 GB, free: 7.723 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/1.125, allocations: 205.6 kB / 1.222 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/1.125, allocations: 8 kB / 1.222 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005071/1.13, allocations: 4.609 MB / 1.227 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.13, allocations: 0 / 1.227 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.132, allocations: 1.162 MB / 1.228 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/1.133, allocations: 243.2 kB / 1.228 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.133, allocations: 12 kB / 1.228 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/1.133, allocations: 35.95 kB / 1.228 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.133, allocations: 52.36 kB / 1.228 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-05/1.133, allocations: 20 kB / 1.228 GB, free: 1.066 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001841/1.135, allocations: 1.552 MB / 1.23 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.135, allocations: 0 / 1.23 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008262/1.136, allocations: 227.6 kB / 1.23 GB, free: 15.29 MB / 0.9356 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.001754/1.138, allocations: 497.7 kB / 1.23 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001887/1.14, allocations: 0.804 MB / 1.231 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.14, allocations: 0 / 1.231 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.141, allocations: 0.582 MB / 1.232 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/1.142, allocations: 227.4 kB / 1.232 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/1.146, allocations: 2.868 MB / 1.235 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/1.147, allocations: 1.224 MB / 1.236 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.148, allocations: 55.42 kB / 1.236 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/1.148, allocations: 3.938 kB / 1.236 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of Templates: time 0.03227/1.18, allocations: 20.4 MB / 1.256 GB, free: 4.766 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches