Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00896/0.00896, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003258, allocations: 12 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3232, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02743/0.3507, allocations: 29.15 MB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.3673, allocations: 11.7 MB / 1.099 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.3691, allocations: 43.75 kB / 1.099 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007673/0.3768, allocations: 3.77 MB / 1.102 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004538/0.3813, allocations: 1.408 MB / 1.104 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.385, allocations: 1.26 MB / 1.105 GB, free: 6.031 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.01091/0.3959, allocations: 8.001 MB / 1.113 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.3983, allocations: 1.138 MB / 1.114 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.4013, allocations: 1.229 MB / 1.115 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.4033, allocations: 1.077 MB / 1.116 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.4038, allocations: 52 kB / 1.116 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.4071, allocations: 1.271 MB / 1.117 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007944/0.408, allocations: 454.2 kB / 1.118 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.4092, allocations: 0.8912 MB / 1.119 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.413, allocations: 2.893 MB / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.413, allocations: 0 / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.264e-06/0.413, allocations: 0 / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.458e-05/0.4131, allocations: 4 kB / 1.121 GB, free: 4.949 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003395/0.4165, allocations: 2.02 MB / 1.123 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4165, allocations: 11.97 kB / 1.123 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.4184, allocations: 389.2 kB / 1.124 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00397/0.4224, allocations: 2.332 MB / 1.126 GB, free: 88 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.4225, allocations: 70.22 kB / 1.126 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.4228, allocations: 92.03 kB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.425, allocations: 1.02 MB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.425, allocations: 0 / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-05/0.4251, allocations: 32 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4252, allocations: 20 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.4271, allocations: 0.7805 MB / 1.128 GB, free: 14.02 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.007983/0.4351, allocations: 5.357 MB / 1.133 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4365, allocations: 0.582 MB / 1.134 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.4373, allocations: 338.6 kB / 1.134 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/0.4398, allocations: 1.646 MB / 1.136 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007743/0.4406, allocations: 346.9 kB / 1.136 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005762/0.4412, allocations: 107.3 kB / 1.136 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.4412, allocations: 0 / 1.136 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43): time 0.003418/0.4446, allocations: 1.254 MB / 1.137 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.4447, allocations: 59.41 kB / 1.138 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.4472, allocations: 1.846 MB / 1.139 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.4473, allocations: 41.7 kB / 1.139 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/0.4479, allocations: 0.7754 MB / 1.14 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.4481, allocations: 153.9 kB / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4482, allocations: 129.6 kB / 1.14 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4484, allocations: 353.9 kB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008745/0.4493, allocations: 454.1 kB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.4504, allocations: 0.8513 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.4522, allocations: 1.168 MB / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4522, allocations: 0 / 1.143 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003161/0.4554, allocations: 1.602 MB / 1.145 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.4556, allocations: 379.7 kB / 1.145 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.4557, allocations: 11.94 kB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000652/0.4563, allocations: 196.6 kB / 1.145 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.4571, allocations: 203.6 kB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007374/0.4578, allocations: 0.763 MB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.4592, allocations: 109.6 kB / 1.146 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.4593, allocations: 43.98 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4593, allocations: 9.406 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002334/0.4617, allocations: 1.42 MB / 1.148 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4617, allocations: 12.56 kB / 1.148 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.4619, allocations: 108.8 kB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.4626, allocations: 199.6 kB / 1.148 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.4647, allocations: 2.16 MB / 1.15 GB, free: 6.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4659, allocations: 101.6 kB / 1.15 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.466, allocations: 39.98 kB / 1.15 GB, free: 5.969 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000933/0.4669, allocations: 0.5865 MB / 1.151 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.4671, allocations: 169.8 kB / 1.151 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4692, allocations: 0.9119 MB / 1.152 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4692, allocations: 4 kB / 1.152 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4692, allocations: 0 / 1.152 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/0.4708, allocations: 0.896 MB / 1.153 GB, free: 3.309 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 postOpt removeSimpleEquations (simulation): time 0.003396/0.4742, allocations: 2.06 MB / 1.155 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4742, allocations: 0 / 1.155 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.4746, allocations: 87.86 kB / 1.155 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.475, allocations: 136.8 kB / 1.155 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.475, allocations: 15.98 kB / 1.155 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005943/0.4756, allocations: 0.7396 MB / 1.156 GB, free: 164 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4756, allocations: 4 kB / 1.156 GB, free: 160 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.478, allocations: 1.258 MB / 1.157 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.4786, allocations: 330.7 kB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.4789, allocations: 15.92 kB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008877/0.4798, allocations: 79.92 kB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4799, allocations: 36.39 kB / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.48, allocations: 23.98 kB / 1.157 GB, free: 14.37 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002043/0.482, allocations: 1.242 MB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/0.482, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002254/0.4843, allocations: 0.8112 MB / 1.159 GB, free: 12.29 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.4854, allocations: 498 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003548/0.489, allocations: 1.879 MB / 1.162 GB, free: 9.891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.489, allocations: 1.125 kB / 1.162 GB, free: 9.891 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.4898, allocations: 338.4 kB / 1.162 GB, free: 9.559 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/0.4942, allocations: 0.7477 MB / 1.163 GB, free: 8.816 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.5015, allocations: 3.566 MB / 1.166 GB, free: 5.219 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.5028, allocations: 1.444 MB / 1.168 GB, free: 3.746 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001846/0.5047, allocations: 437.2 kB / 1.168 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.5052, allocations: 135.4 kB / 1.168 GB, free: 3.18 MB / 0.92 GB Notification: Performance of SimCode: time 9.32e-07/0.5052, allocations: 0 / 1.168 GB, free: 3.18 MB / 0.92 GB Notification: Performance of Templates: time 0.05446/0.5596, allocations: 31.9 MB / 1.199 GB, free: 3.648 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches