Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 97.64 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.0121/0.0121, allocations: 170.1 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.496/1.496, 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.1-master/package.mo): time 2.774/2.774, allocations: 462.6 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 10 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2765, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05212/0.3287, allocations: 50.15 MB / 1.108 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.3542, allocations: 18.06 MB / 1.125 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3568, allocations: 67.56 kB / 1.125 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01606/0.3729, allocations: 9.729 MB / 1.135 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007547/0.3804, allocations: 2.427 MB / 1.137 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005078/0.3855, allocations: 1.875 MB / 1.139 GB, free: 2.965 MB / 0.8887 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.001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02118/0.4067, allocations: 15.74 MB / 1.154 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.4096, allocations: 1.407 MB / 1.156 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.4132, allocations: 1.544 MB / 1.157 GB, free: 200 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.4155, allocations: 1.431 MB / 1.159 GB, free: 14.76 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.4158, allocations: 84 kB / 1.159 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.4197, allocations: 1.785 MB / 1.16 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008581/0.4206, allocations: 0.7396 MB / 1.161 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.4222, allocations: 1.241 MB / 1.162 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005377/0.4276, allocations: 4.197 MB / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4277, allocations: 0 / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4277, allocations: 0 / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.771e-05/0.4277, allocations: 0 / 1.167 GB, free: 6.68 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004668/0.4324, allocations: 2.678 MB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4324, allocations: 8.031 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.4381, allocations: 0.9878 MB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007755/0.4459, allocations: 3.418 MB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.4461, allocations: 93.88 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.4464, allocations: 123.8 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.4497, allocations: 1.492 MB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4498, allocations: 0 / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.4499, allocations: 40 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/0.45, allocations: 38 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.4535, allocations: 1.358 MB / 1.177 GB, free: 12.24 MB / 0.9356 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.0104/0.464, allocations: 6.793 MB / 1.183 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/0.4677, allocations: 1.233 MB / 1.184 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.4691, allocations: 0.5195 MB / 1.185 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/0.4731, allocations: 2.757 MB / 1.188 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.4732, allocations: 43.12 kB / 1.188 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007072/0.4739, allocations: 130.9 kB / 1.188 GB, free: 164 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.515e-06/0.4739, allocations: 0 / 1.188 GB, free: 164 kB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.005055/0.479, allocations: 1.782 MB / 1.189 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.479, allocations: 63.97 kB / 1.19 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4824, allocations: 2.524 MB / 1.192 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.4826, allocations: 45.7 kB / 1.192 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.4835, allocations: 1.024 MB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4837, allocations: 232.8 kB / 1.193 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.484, allocations: 209.6 kB / 1.193 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.4841, allocations: 301.1 kB / 1.194 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.4862, allocations: 1.148 MB / 1.195 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.4886, allocations: 1.565 MB / 1.196 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.4928, allocations: 2.504 MB / 1.199 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.4928, allocations: 4 kB / 1.199 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005436/0.4982, allocations: 3.092 MB / 1.202 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.4985, allocations: 344.6 kB / 1.202 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4985, allocations: 11.94 kB / 1.202 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/0.499, allocations: 152.8 kB / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5005, allocations: 371.4 kB / 1.203 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006207/0.5012, allocations: 0.6732 MB / 1.203 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.503, allocations: 153.5 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.5032, allocations: 95.95 kB / 1.204 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.5032, allocations: 5.875 kB / 1.204 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004807/0.508, allocations: 2.507 MB / 1.206 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5081, allocations: 8 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000927/0.509, allocations: 221.2 kB / 1.206 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.5104, allocations: 351.5 kB / 1.207 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.5162, allocations: 3.204 MB / 1.21 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.518, allocations: 156.9 kB / 1.21 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.5182, allocations: 83.97 kB / 1.21 GB, free: 8.676 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.5195, allocations: 0.6958 MB / 1.211 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.5198, allocations: 233 kB / 1.211 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.5238, allocations: 1.618 MB / 1.212 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5239, allocations: 12 kB / 1.212 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5239, allocations: 4 kB / 1.212 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5239, allocations: 3.984 kB / 1.212 GB, free: 6.086 MB / 0.9669 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.00637/0.5303, allocations: 3.131 MB / 1.216 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5303, allocations: 0 / 1.216 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/0.5313, allocations: 171.8 kB / 1.216 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/0.5317, allocations: 104.7 kB / 1.216 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.5318, allocations: 31.97 kB / 1.216 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/0.5323, allocations: 0.6459 MB / 1.216 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5323, allocations: 4.031 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/0.5377, allocations: 2.179 MB / 1.219 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.5387, allocations: 421.8 kB / 1.219 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.539, allocations: 20 kB / 1.219 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.5402, allocations: 107.8 kB / 1.219 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.5403, allocations: 56.58 kB / 1.219 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.606e-05/0.5404, allocations: 43.97 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002845/0.5433, allocations: 1.68 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5433, allocations: 0 / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003963/0.5473, allocations: 1.221 MB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.549, allocations: 0.697 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006995/0.556, allocations: 3.542 MB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.556, allocations: 0 / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.5575, allocations: 0.5865 MB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/0.5631, allocations: 1.072 MB / 1.228 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/0.5709, allocations: 4.895 MB / 1.233 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.5725, allocations: 1.713 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002995/0.5755, allocations: 0.6738 MB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.576, allocations: 187.3 kB / 1.235 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.5761, allocations: 4 kB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.6103/1.186, allocations: 49.73 MB / 1.284 GB, free: 167.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches