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.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.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.0008612/0.0008612, allocations: 98.64 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.001203/0.001203, allocations: 182.6 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 443.2 MB / 0.7181 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 10 kB / 0.8801 GB, free: 42.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3177, allocations: 155.2 MB / 1.032 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05479/0.3726, allocations: 50.14 MB / 1.081 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.4025, allocations: 18.07 MB / 1.098 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.4061, allocations: 67.56 kB / 1.098 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0172/0.4234, allocations: 9.716 MB / 1.108 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.4314, allocations: 2.427 MB / 1.11 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005204/0.4367, allocations: 1.882 MB / 1.112 GB, free: 2.371 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.001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02207/0.4587, allocations: 15.73 MB / 1.127 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002959/0.4617, allocations: 1.407 MB / 1.129 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003851/0.4656, allocations: 1.552 MB / 1.13 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.4684, allocations: 1.427 MB / 1.132 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.4688, allocations: 80 kB / 1.132 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.4731, allocations: 1.785 MB / 1.133 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.4741, allocations: 0.7512 MB / 1.134 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.4759, allocations: 1.237 MB / 1.135 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.4805, allocations: 3.273 MB / 1.139 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4805, allocations: 4 kB / 1.139 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.544e-06/0.4805, allocations: 0 / 1.139 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.215e-05/0.4806, allocations: 0 / 1.139 GB, free: 7.023 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.005421/0.4861, allocations: 2.67 MB / 1.141 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4861, allocations: 11.97 kB / 1.141 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.4917, allocations: 0.9917 MB / 1.142 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007767/0.4995, allocations: 3.418 MB / 1.146 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.4997, allocations: 97.92 kB / 1.146 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.5, allocations: 115.9 kB / 1.146 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.5032, allocations: 1.496 MB / 1.147 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.5032, allocations: 4 kB / 1.147 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.5033, allocations: 40 kB / 1.147 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.5034, allocations: 41.94 kB / 1.147 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.5068, allocations: 1.347 MB / 1.149 GB, free: 12.59 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 preOpt removeSimpleEquations (simulation): time 0.01055/0.5173, allocations: 6.798 MB / 1.155 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.521, allocations: 1.239 MB / 1.156 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.5223, allocations: 0.5195 MB / 1.157 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004439/0.5268, allocations: 2.754 MB / 1.16 GB, free: 0.6758 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.5269, allocations: 43.12 kB / 1.16 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007821/0.5277, allocations: 130.9 kB / 1.16 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/0.5277, allocations: 0 / 1.16 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62): time 0.005061/0.5327, allocations: 1.79 MB / 1.162 GB, free: 14.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5328, allocations: 55.97 kB / 1.162 GB, free: 14.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.5366, allocations: 2.532 MB / 1.164 GB, free: 12.06 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.5368, allocations: 41.7 kB / 1.164 GB, free: 12.01 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009456/0.5377, allocations: 1.028 MB / 1.165 GB, free: 10.97 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/0.538, allocations: 224.9 kB / 1.165 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.5383, allocations: 205.6 kB / 1.166 GB, free: 10.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5384, allocations: 301.1 kB / 1.166 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.5404, allocations: 1.152 MB / 1.167 GB, free: 9.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.5428, allocations: 1.565 MB / 1.168 GB, free: 7.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004083/0.5469, allocations: 2.504 MB / 1.171 GB, free: 4.773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.5469, allocations: 4 kB / 1.171 GB, free: 4.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005608/0.5525, allocations: 3.099 MB / 1.174 GB, free: 1.652 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.5528, allocations: 346.7 kB / 1.174 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5528, allocations: 8 kB / 1.174 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.5533, allocations: 152.8 kB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.5548, allocations: 367.5 kB / 1.175 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007103/0.5555, allocations: 0.6695 MB / 1.175 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.5576, allocations: 141.6 kB / 1.176 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.5577, allocations: 95.97 kB / 1.176 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.5578, allocations: 4 kB / 1.176 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005123/0.5629, allocations: 2.507 MB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5629, allocations: 11.98 kB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/0.5639, allocations: 221.2 kB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.5653, allocations: 351.5 kB / 1.179 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00641/0.5717, allocations: 3.224 MB / 1.182 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.5739, allocations: 141.4 kB / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.5741, allocations: 83.91 kB / 1.182 GB, free: 9.012 MB / 0.9356 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.001514/0.5756, allocations: 0.6997 MB / 1.183 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.5761, allocations: 225 kB / 1.183 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/0.5804, allocations: 1.622 MB / 1.185 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5804, allocations: 8 kB / 1.185 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5804, allocations: 4 kB / 1.185 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5804, allocations: 3.984 kB / 1.185 GB, free: 6.418 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 postOpt removeSimpleEquations (simulation): time 0.006958/0.5874, allocations: 3.134 MB / 1.188 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5874, allocations: 0 / 1.188 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/0.5884, allocations: 171.9 kB / 1.188 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/0.5889, allocations: 108.7 kB / 1.188 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.483e-05/0.589, allocations: 31.97 kB / 1.188 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005464/0.5895, allocations: 0.6421 MB / 1.189 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5895, allocations: 0 / 1.189 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.5949, allocations: 2.183 MB / 1.191 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.5961, allocations: 425.7 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/0.5966, allocations: 16 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.5982, allocations: 115.7 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.5984, allocations: 56.58 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5985, allocations: 47.97 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003677/0.6022, allocations: 1.684 MB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6022, allocations: 0 / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004583/0.6068, allocations: 1.209 MB / 1.194 GB, free: 12.44 MB / 0.9512 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.002014/0.6088, allocations: 0.6903 MB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007241/0.6161, allocations: 3.545 MB / 1.198 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6161, allocations: 0 / 1.198 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.6177, allocations: 0.5866 MB / 1.199 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005901/0.6236, allocations: 1.07 MB / 1.2 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.6324, allocations: 4.964 MB / 1.205 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.6341, allocations: 1.693 MB / 1.206 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/0.6349, allocations: 203.3 kB / 1.207 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of SimCode: time 8.91e-07/0.6349, allocations: 0 / 1.207 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of Templates: time 0.5995/1.234, allocations: 52.33 MB / 1.258 GB, free: 206 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches