Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008805/0.0008806, allocations: 99.42 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.001297/0.001297, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.716/2.716, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 12 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.805, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05409/0.8592, allocations: 50.15 MB / 1.073 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02697/0.8862, allocations: 18.06 MB / 1.09 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.8899, allocations: 67.56 kB / 1.09 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.9064, allocations: 9.733 MB / 1.1 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.9141, allocations: 2.427 MB / 1.102 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.9203, allocations: 1.875 MB / 1.104 GB, free: 13.29 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.02405/0.9443, allocations: 15.74 MB / 1.119 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.9474, allocations: 1.407 MB / 1.121 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.9517, allocations: 1.548 MB / 1.122 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.9549, allocations: 1.427 MB / 1.124 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005812/0.9555, allocations: 80 kB / 1.124 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/0.9602, allocations: 1.785 MB / 1.126 GB, free: 7.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.9613, allocations: 0.7552 MB / 1.126 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002065/0.9634, allocations: 1.233 MB / 1.127 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.9679, allocations: 3.285 MB / 1.131 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.968, allocations: 0 / 1.131 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.439e-06/0.968, allocations: 0 / 1.131 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.125e-05/0.968, allocations: 3.938 kB / 1.131 GB, free: 1.93 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.005395/0.9734, allocations: 2.666 MB / 1.133 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.9735, allocations: 12.03 kB / 1.133 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005787/0.9793, allocations: 0.9917 MB / 1.134 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/0.9878, allocations: 3.414 MB / 1.138 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.9881, allocations: 97.92 kB / 1.138 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.9884, allocations: 112 kB / 1.138 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.9916, allocations: 1.492 MB / 1.139 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.9916, allocations: 4 kB / 1.139 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.9918, allocations: 40 kB / 1.139 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/0.9918, allocations: 41.94 kB / 1.139 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.9953, allocations: 1.354 MB / 1.141 GB, free: 7.508 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.01156/1.007, allocations: 6.775 MB / 1.147 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/1.011, allocations: 1.242 MB / 1.148 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/1.012, allocations: 0.5178 MB / 1.149 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005126/1.017, allocations: 2.757 MB / 1.152 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1.017, allocations: 43.12 kB / 1.152 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009172/1.018, allocations: 134.8 kB / 1.152 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 4.188e-06/1.018, allocations: 0 / 1.152 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62): time 0.005435/1.024, allocations: 1.79 MB / 1.154 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/1.024, allocations: 59.95 kB / 1.154 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/1.029, allocations: 2.532 MB / 1.156 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.029, allocations: 41.7 kB / 1.156 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.03, allocations: 1.017 MB / 1.157 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/1.031, allocations: 236.8 kB / 1.157 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/1.031, allocations: 205.6 kB / 1.158 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.031, allocations: 305.1 kB / 1.158 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/1.033, allocations: 1.152 MB / 1.159 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/1.036, allocations: 1.561 MB / 1.161 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004474/1.04, allocations: 2.504 MB / 1.163 GB, free: 15.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/1.04, allocations: 4 kB / 1.163 GB, free: 15.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.006268/1.047, allocations: 3.096 MB / 1.166 GB, free: 12.58 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003036/1.047, allocations: 350.3 kB / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/1.047, allocations: 8 kB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/1.048, allocations: 156.8 kB / 1.166 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.049, allocations: 363.5 kB / 1.167 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007995/1.05, allocations: 0.6693 MB / 1.167 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.053, allocations: 149.7 kB / 1.168 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/1.053, allocations: 95.97 kB / 1.168 GB, free: 10.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.053, allocations: 4 kB / 1.168 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005701/1.059, allocations: 2.507 MB / 1.17 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/1.059, allocations: 8 kB / 1.17 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/1.06, allocations: 221.2 kB / 1.17 GB, free: 7.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.061, allocations: 347.5 kB / 1.171 GB, free: 7.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/1.068, allocations: 3.22 MB / 1.174 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.07, allocations: 141.5 kB / 1.174 GB, free: 4.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/1.07, allocations: 83.91 kB / 1.174 GB, free: 3.941 MB / 0.92 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.001603/1.072, allocations: 0.7035 MB / 1.175 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005688/1.073, allocations: 229 kB / 1.175 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/1.077, allocations: 1.626 MB / 1.177 GB, free: 1.355 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/1.077, allocations: 8 kB / 1.177 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.077, allocations: 0 / 1.177 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.077, allocations: 7.984 kB / 1.177 GB, free: 1.34 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.007586/1.085, allocations: 3.134 MB / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.085, allocations: 0 / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/1.086, allocations: 167.9 kB / 1.18 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/1.086, allocations: 112.6 kB / 1.18 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/1.086, allocations: 35.97 kB / 1.18 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005068/1.087, allocations: 0.6421 MB / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.087, allocations: 0 / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/1.092, allocations: 2.175 MB / 1.183 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.093, allocations: 429.7 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/1.094, allocations: 12 kB / 1.183 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.095, allocations: 111.8 kB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.095, allocations: 52.58 kB / 1.183 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.096, allocations: 47.97 kB / 1.183 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003277/1.099, allocations: 1.68 MB / 1.185 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.51e-07/1.099, allocations: 0 / 1.185 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004387/1.103, allocations: 1.217 MB / 1.186 GB, free: 7.355 MB / 0.9356 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.002004/1.105, allocations: 0.7078 MB / 1.187 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007405/1.113, allocations: 3.541 MB / 1.19 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.113, allocations: 4 kB / 1.19 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.114, allocations: 0.5904 MB / 1.191 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/1.12, allocations: 1.065 MB / 1.192 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009444/1.13, allocations: 4.959 MB / 1.197 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/1.132, allocations: 1.689 MB / 1.198 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009431/1.133, allocations: 199.3 kB / 1.199 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of SimCode: time 9.52e-07/1.133, allocations: 4 kB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.07758/1.21, allocations: 52.34 MB / 1.25 GB, free: 6.457 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches