Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01036/0.01036, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.6 MB / 0.7363 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003669, allocations: 12.88 kB / 0.9027 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3106, allocations: 159.6 MB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03103/0.3417, allocations: 32.2 MB / 1.09 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.3608, allocations: 12.29 MB / 1.102 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.3638, allocations: 47.69 kB / 1.102 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009894/0.3737, allocations: 3.82 MB / 1.106 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.3802, allocations: 1.517 MB / 1.107 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00389/0.3842, allocations: 1.302 MB / 1.109 GB, free: 1.738 MB / 0.8575 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0113/0.3955, allocations: 9.41 MB / 1.118 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.3984, allocations: 1.757 MB / 1.119 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.4021, allocations: 1.598 MB / 1.121 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.4048, allocations: 1.4 MB / 1.122 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.4054, allocations: 68 kB / 1.122 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.4088, allocations: 1.295 MB / 1.124 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008531/0.4097, allocations: 0.5057 MB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.4117, allocations: 1.109 MB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005075/0.4168, allocations: 3.36 MB / 1.129 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4168, allocations: 0 / 1.129 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4168, allocations: 4 kB / 1.129 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001087/0.4169, allocations: 0 / 1.129 GB, free: 13.13 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004694/0.4216, allocations: 2.393 MB / 1.131 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4217, allocations: 12.03 kB / 1.131 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.424, allocations: 448.5 kB / 1.131 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.4292, allocations: 2.665 MB / 1.134 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4294, allocations: 82.28 kB / 1.134 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.4296, allocations: 115.9 kB / 1.134 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.4323, allocations: 1.323 MB / 1.135 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4324, allocations: 4 kB / 1.135 GB, free: 5.875 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.4325, allocations: 47.98 kB / 1.136 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.4325, allocations: 24 kB / 1.136 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.4348, allocations: 1.042 MB / 1.137 GB, free: 4.758 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.009101/0.4439, allocations: 7.177 MB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.4453, allocations: 0.6156 MB / 1.144 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.4461, allocations: 414.6 kB / 1.145 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002793/0.4489, allocations: 1.762 MB / 1.146 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007827/0.4497, allocations: 371.1 kB / 1.147 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006446/0.4504, allocations: 115.1 kB / 1.147 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.805e-06/0.4504, allocations: 0 / 1.147 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003579/0.454, allocations: 1.394 MB / 1.148 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.454, allocations: 59.41 kB / 1.148 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.4571, allocations: 2.352 MB / 1.15 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.4571, allocations: 41.7 kB / 1.15 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008777/0.458, allocations: 0.9996 MB / 1.151 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4582, allocations: 157.8 kB / 1.152 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.4584, allocations: 149.6 kB / 1.152 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4585, allocations: 353.9 kB / 1.152 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009293/0.4595, allocations: 0.4945 MB / 1.153 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.4608, allocations: 1.001 MB / 1.154 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.4629, allocations: 1.336 MB / 1.155 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.4629, allocations: 8 kB / 1.155 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00332/0.4663, allocations: 1.815 MB / 1.157 GB, free: 15.03 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.4665, allocations: 453.4 kB / 1.157 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.4666, allocations: 12 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.4672, allocations: 187.5 kB / 1.157 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.468, allocations: 227.6 kB / 1.157 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/0.4687, allocations: 0.7707 MB / 1.158 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4702, allocations: 120.7 kB / 1.158 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.401e-05/0.4703, allocations: 55.98 kB / 1.158 GB, free: 13.03 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.4703, allocations: 0 / 1.158 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002455/0.4727, allocations: 1.579 MB / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4728, allocations: 12.78 kB / 1.16 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.473, allocations: 140.6 kB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.4737, allocations: 219.6 kB / 1.16 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4758, allocations: 2.12 MB / 1.162 GB, free: 8.805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.4771, allocations: 120.7 kB / 1.162 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.4772, allocations: 51.98 kB / 1.163 GB, free: 8.637 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.4782, allocations: 0.6949 MB / 1.163 GB, free: 7.934 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.4785, allocations: 209.4 kB / 1.163 GB, free: 7.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4807, allocations: 1.037 MB / 1.164 GB, free: 6.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.4807, allocations: 4 kB / 1.164 GB, free: 6.668 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4807, allocations: 3.984 kB / 1.164 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/0.4823, allocations: 0.974 MB / 1.165 GB, free: 5.617 MB / 0.92 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 postOpt removeSimpleEquations (simulation): time 0.003993/0.4863, allocations: 2.386 MB / 1.168 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4863, allocations: 0 / 1.168 GB, free: 3.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.4868, allocations: 95.86 kB / 1.168 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.4871, allocations: 128.8 kB / 1.168 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.4872, allocations: 8 kB / 1.168 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005406/0.4877, allocations: 0.743 MB / 1.169 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4877, allocations: 0 / 1.169 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.4904, allocations: 1.429 MB / 1.17 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007563/0.4911, allocations: 374.3 kB / 1.17 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.4914, allocations: 19.98 kB / 1.17 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/0.4923, allocations: 79.91 kB / 1.171 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.4924, allocations: 44.38 kB / 1.171 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/0.4925, allocations: 23.98 kB / 1.171 GB, free: 144 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002266/0.4947, allocations: 1.603 MB / 1.172 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4947, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002741/0.4975, allocations: 0.9594 MB / 1.173 GB, free: 13.57 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.4987, allocations: 0.4985 MB / 1.174 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003821/0.5025, allocations: 2.029 MB / 1.176 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5026, allocations: 0 / 1.176 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.5034, allocations: 347 kB / 1.176 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/0.5077, allocations: 0.9204 MB / 1.177 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.5149, allocations: 4.353 MB / 1.181 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.5161, allocations: 1.67 MB / 1.183 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002081/0.5182, allocations: 0.5515 MB / 1.183 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.5186, allocations: 167.4 kB / 1.183 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of SimCode: time 1.112e-06/0.5186, allocations: 0 / 1.183 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of Templates: time 0.06259/0.5812, allocations: 37.88 MB / 1.22 GB, free: 13.53 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches