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.0009341/0.0009342, allocations: 99.58 kB / 16.02 MB, free: 76 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.001186/0.001186, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 462.7 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 11.56 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3158, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.0333/0.3491, allocations: 32.21 MB / 1.091 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.3669, allocations: 12.28 MB / 1.103 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.3685, allocations: 51.69 kB / 1.103 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007343/0.3759, allocations: 3.819 MB / 1.107 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.3801, allocations: 1.513 MB / 1.108 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.3833, allocations: 1.3 MB / 1.109 GB, free: 1.656 MB / 0.8575 GB [/var/lib/jenkins1/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.01111/0.3945, allocations: 9.417 MB / 1.118 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.3973, allocations: 1.757 MB / 1.12 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.4006, allocations: 1.598 MB / 1.122 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.4029, allocations: 1.396 MB / 1.123 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.4034, allocations: 68 kB / 1.123 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.4063, allocations: 1.299 MB / 1.124 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007023/0.4071, allocations: 0.5057 MB / 1.125 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.4088, allocations: 1.109 MB / 1.126 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.4121, allocations: 2.611 MB / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4122, allocations: 0 / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4122, allocations: 0 / 1.129 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.82e-05/0.4123, allocations: 0 / 1.129 GB, free: 13.8 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.004471/0.4167, allocations: 2.395 MB / 1.131 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4168, allocations: 12.03 kB / 1.131 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.4189, allocations: 440.6 kB / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/0.4236, allocations: 2.673 MB / 1.134 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.4238, allocations: 82.28 kB / 1.134 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.424, allocations: 111.9 kB / 1.134 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.4265, allocations: 1.33 MB / 1.135 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.4265, allocations: 3.938 kB / 1.135 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.4267, allocations: 40 kB / 1.135 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.4267, allocations: 24 kB / 1.136 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.429, allocations: 1.046 MB / 1.137 GB, free: 5.426 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.008869/0.4378, allocations: 7.177 MB / 1.144 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.4393, allocations: 0.6055 MB / 1.144 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007975/0.4401, allocations: 417.1 kB / 1.145 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003027/0.4432, allocations: 1.766 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008243/0.444, allocations: 387.1 kB / 1.147 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007122/0.4448, allocations: 115.1 kB / 1.147 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 3.617e-06/0.4448, allocations: 0 / 1.147 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003838/0.4486, allocations: 1.387 MB / 1.148 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.4487, allocations: 59.41 kB / 1.148 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/0.4522, allocations: 2.36 MB / 1.15 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.475e-05/0.4523, allocations: 37.7 kB / 1.15 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009488/0.4532, allocations: 0.9997 MB / 1.151 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4534, allocations: 161.8 kB / 1.152 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.4536, allocations: 133.6 kB / 1.152 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4537, allocations: 357.9 kB / 1.152 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.4547, allocations: 0.4906 MB / 1.153 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.456, allocations: 1.001 MB / 1.154 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.4581, allocations: 1.347 MB / 1.155 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.4582, allocations: 4 kB / 1.155 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003577/0.4617, allocations: 1.799 MB / 1.157 GB, free: 15.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003303/0.4621, allocations: 465.8 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.4621, allocations: 12 kB / 1.157 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.4628, allocations: 184.7 kB / 1.157 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.4637, allocations: 235.6 kB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007246/0.4644, allocations: 0.7669 MB / 1.158 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.4659, allocations: 116.7 kB / 1.158 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4661, allocations: 59.98 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4661, allocations: 6.031 kB / 1.158 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/0.4688, allocations: 1.583 MB / 1.16 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.4688, allocations: 12 kB / 1.16 GB, free: 12.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.4691, allocations: 121.5 kB / 1.16 GB, free: 11.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.4699, allocations: 228 kB / 1.16 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.4721, allocations: 2.125 MB / 1.162 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4734, allocations: 124.6 kB / 1.162 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4735, allocations: 51.98 kB / 1.163 GB, free: 9.301 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.001131/0.4747, allocations: 0.6973 MB / 1.163 GB, free: 8.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.4751, allocations: 205.4 kB / 1.163 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.4775, allocations: 1.033 MB / 1.164 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4775, allocations: 4 kB / 1.164 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4776, allocations: 4 kB / 1.164 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001684/0.4792, allocations: 0.9779 MB / 1.165 GB, free: 6.281 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.004466/0.4837, allocations: 2.386 MB / 1.168 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4837, allocations: 0 / 1.168 GB, free: 3.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.4842, allocations: 91.92 kB / 1.168 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.4845, allocations: 123.8 kB / 1.168 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.4846, allocations: 15.98 kB / 1.168 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005746/0.4852, allocations: 0.7395 MB / 1.169 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4852, allocations: 4.031 kB / 1.169 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.488, allocations: 1.429 MB / 1.17 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007554/0.4887, allocations: 366.3 kB / 1.17 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.4891, allocations: 12 kB / 1.17 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.4901, allocations: 91.97 kB / 1.17 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4902, allocations: 32.39 kB / 1.171 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.4902, allocations: 19.98 kB / 1.171 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002445/0.4927, allocations: 1.607 MB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4927, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002838/0.4955, allocations: 0.9632 MB / 1.173 GB, free: 14.24 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.001306/0.4969, allocations: 0.5038 MB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003681/0.5006, allocations: 2.014 MB / 1.176 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5006, allocations: 0 / 1.176 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.5014, allocations: 350.5 kB / 1.176 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/0.5059, allocations: 0.9274 MB / 1.177 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.5142, allocations: 4.421 MB / 1.181 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.5159, allocations: 1.666 MB / 1.183 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/0.5165, allocations: 159.4 kB / 1.183 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of SimCode: time 8.72e-07/0.5165, allocations: 0 / 1.183 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.06321/0.5798, allocations: 44.58 MB / 1.226 GB, free: 7.746 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches