Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,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.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_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001427/0.001427, allocations: 197.2 kB / 16.14 MB, free: 6.629 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.925/2.925, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6407, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1817/0.8225, allocations: 154.5 MB / 1.167 GB, free: 7.754 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02807/0.8506, allocations: 21.6 MB / 1.189 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.8528, allocations: 51.69 kB / 1.189 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.8546, allocations: 1.119 MB / 1.19 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.8562, allocations: 0.8098 MB / 1.191 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.8574, allocations: 386.9 kB / 1.191 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.859, allocations: 1.356 MB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/0.8598, allocations: 0.6138 MB / 1.193 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.8604, allocations: 498.2 kB / 1.193 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.8615, allocations: 0.9098 MB / 1.194 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-05/0.8616, allocations: 36 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.8619, allocations: 87.97 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.8622, allocations: 304.7 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004478/0.8626, allocations: 464.8 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.8638, allocations: 1.152 MB / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8638, allocations: 0 / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8638, allocations: 0 / 1.196 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.8638, allocations: 0 / 1.196 GB, free: 10.32 MB / 0.9512 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.002439/0.8662, allocations: 1.486 MB / 1.198 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8663, allocations: 8.031 kB / 1.198 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.8665, allocations: 135.3 kB / 1.198 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008573/0.8674, allocations: 0.6472 MB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.8675, allocations: 78.62 kB / 1.198 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.8676, allocations: 44 kB / 1.198 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.8687, allocations: 0.5223 MB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.8687, allocations: 0 / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.8687, allocations: 20 kB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.8688, allocations: 8 kB / 1.199 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.8697, allocations: 411.7 kB / 1.199 GB, free: 6.848 MB / 0.9512 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.003699/0.8734, allocations: 2.743 MB / 1.202 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8744, allocations: 440.7 kB / 1.203 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.8751, allocations: 319 kB / 1.203 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.8751, allocations: 8.594 kB / 1.203 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.8757, allocations: 287 kB / 1.203 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=44): time 2.164e-06/0.8757, allocations: 0 / 1.203 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44): time 0.002762/0.8785, allocations: 1.152 MB / 1.204 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.8786, allocations: 59.39 kB / 1.204 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.8806, allocations: 1.752 MB / 1.206 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.8806, allocations: 37.7 kB / 1.206 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.8811, allocations: 0.5288 MB / 1.207 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.8813, allocations: 146 kB / 1.207 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.8814, allocations: 102.2 kB / 1.207 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.8816, allocations: 326 kB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005193/0.8821, allocations: 209 kB / 1.207 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.8827, allocations: 343.2 kB / 1.208 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.8837, allocations: 0.5114 MB / 1.208 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.8837, allocations: 3.938 kB / 1.208 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001613/0.8853, allocations: 0.805 MB / 1.209 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8853, allocations: 8 kB / 1.209 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.8854, allocations: 4 kB / 1.209 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004357/0.8858, allocations: 140.9 kB / 1.209 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.8862, allocations: 99.81 kB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.8891, allocations: 2.395 MB / 1.211 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.8896, allocations: 79.55 kB / 1.212 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.8896, allocations: 20 kB / 1.212 GB, free: 9.785 MB / 0.9669 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005294/0.8902, allocations: 387.3 kB / 1.212 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.8903, allocations: 122.5 kB / 1.212 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.8906, allocations: 135.7 kB / 1.212 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.8906, allocations: 8 kB / 1.212 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.8906, allocations: 7.922 kB / 1.212 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.8906, allocations: 0 / 1.212 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.893, allocations: 1.492 MB / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8931, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.8933, allocations: 51.89 kB / 1.214 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.8937, allocations: 161.6 kB / 1.214 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.8938, allocations: 15.98 kB / 1.214 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.8976, allocations: 3.696 MB / 1.218 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8977, allocations: 0 / 1.218 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.8995, allocations: 0.9871 MB / 1.218 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.8997, allocations: 211.6 kB / 1.219 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8998, allocations: 11.94 kB / 1.219 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.9002, allocations: 47.8 kB / 1.219 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.9003, allocations: 51.86 kB / 1.219 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.9004, allocations: 16 kB / 1.219 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001518/0.9019, allocations: 1.289 MB / 1.22 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9019, allocations: 0 / 1.22 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007687/0.9027, allocations: 195.7 kB / 1.22 GB, free: 0.5352 MB / 0.9669 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.001762/0.9045, allocations: 484.1 kB / 1.221 GB, free: 244 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.9059, allocations: 0.6686 MB / 1.221 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.906, allocations: 3.938 kB / 1.221 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.9068, allocations: 0.5205 MB / 1.222 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.9079, allocations: 180.3 kB / 1.222 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.9118, allocations: 2.689 MB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008314/0.9127, allocations: 1.153 MB / 1.226 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.913, allocations: 108.7 kB / 1.226 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.9131, allocations: 39.44 kB / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of SimCode: time 9.31e-07/0.9131, allocations: 0 / 1.226 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.02217/0.9353, allocations: 9.403 MB / 1.235 GB, free: 1.508 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches