Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.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.PumpsParallel,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.PumpsParallel") translateModel(Buildings.Fluid.Movers.Examples.PumpsParallel,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.PumpsParallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008854, allocations: 91.77 kB / 16.02 MB, free: 80 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.001211/0.001211, allocations: 177.5 kB / 16.92 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.305 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.777/2.777, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003834, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6971, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsParallel): time 0.07225/0.7693, allocations: 66.2 MB / 1.088 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.803, allocations: 21.35 MB / 1.109 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004143/0.8072, allocations: 79.5 kB / 1.109 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.8255, allocations: 9.931 MB / 1.119 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/0.836, allocations: 3.165 MB / 1.122 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.8427, allocations: 2.232 MB / 1.124 GB, free: 8.621 MB / 0.8731 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.0274/0.8701, allocations: 18.05 MB / 1.142 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004608/0.8748, allocations: 1.889 MB / 1.144 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.8803, allocations: 2.119 MB / 1.146 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.8841, allocations: 1.913 MB / 1.148 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008364/0.885, allocations: 104 kB / 1.148 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.8904, allocations: 1.977 MB / 1.15 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.8919, allocations: 0.8523 MB / 1.15 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00323/0.8952, allocations: 1.521 MB / 1.152 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.9011, allocations: 3.83 MB / 1.156 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9012, allocations: 0 / 1.156 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.345e-06/0.9012, allocations: 0 / 1.156 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001724/0.9014, allocations: 0 / 1.156 GB, free: 8.227 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007202/0.9086, allocations: 3.115 MB / 1.159 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9086, allocations: 12.03 kB / 1.159 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.9134, allocations: 0.8388 MB / 1.16 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008817/0.9223, allocations: 3.705 MB / 1.163 GB, free: 420 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.9225, allocations: 115 kB / 1.163 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007353/0.9233, allocations: 148 kB / 1.163 GB, free: 156 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.928, allocations: 1.804 MB / 1.165 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.9281, allocations: 0 / 1.165 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.9284, allocations: 63.94 kB / 1.165 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.411e-05/0.9284, allocations: 50.52 kB / 1.165 GB, free: 14.17 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.9325, allocations: 1.552 MB / 1.167 GB, free: 12.61 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 preOpt removeSimpleEquations (simulation): time 0.01462/0.9471, allocations: 8.774 MB / 1.175 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.9511, allocations: 1.39 MB / 1.177 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.9527, allocations: 0.6908 MB / 1.177 GB, free: 1.148 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 preOpt evalFunc (simulation): time 0.005674/0.9584, allocations: 3.086 MB / 1.18 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.9585, allocations: 43.56 kB / 1.18 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001357/0.9599, allocations: 250.7 kB / 1.181 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 6.282e-06/0.9599, allocations: 3.938 kB / 1.181 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.007752/0.9676, allocations: 2.482 MB / 1.183 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.9677, allocations: 60.41 kB / 1.183 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/0.9731, allocations: 2.836 MB / 1.186 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.9734, allocations: 57.7 kB / 1.186 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.9747, allocations: 1.233 MB / 1.187 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.9751, allocations: 327.4 kB / 1.188 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/0.9756, allocations: 225.8 kB / 1.188 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9757, allocations: 301.1 kB / 1.188 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.9781, allocations: 1.218 MB / 1.189 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.9808, allocations: 1.731 MB / 1.191 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/0.9854, allocations: 2.688 MB / 1.194 GB, free: 28 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.9854, allocations: 4 kB / 1.194 GB, free: 24 kB / 0.9356 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006407/0.9919, allocations: 3.377 MB / 1.197 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/0.9922, allocations: 373.6 kB / 1.197 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9922, allocations: 12 kB / 1.197 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.9936, allocations: 340.5 kB / 1.198 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9953, allocations: 395.4 kB / 1.198 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.9963, allocations: 0.8506 MB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.9988, allocations: 191.4 kB / 1.199 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.9991, allocations: 104 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.9991, allocations: 4 kB / 1.199 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005504/1.005, allocations: 2.777 MB / 1.202 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/1.005, allocations: 12 kB / 1.202 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.006, allocations: 322 kB / 1.202 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.007, allocations: 387.4 kB / 1.202 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/1.015, allocations: 4.228 MB / 1.207 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/1.018, allocations: 175.2 kB / 1.207 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003103/1.018, allocations: 91.91 kB / 1.207 GB, free: 2.035 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (187): * Single equations (assignments): 182 * 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 {(2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0017/1.02, allocations: 0.767 MB / 1.208 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007004/1.021, allocations: 268.4 kB / 1.208 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/1.026, allocations: 1.959 MB / 1.21 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/1.026, allocations: 12 kB / 1.21 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.026, allocations: 4 kB / 1.21 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00345/1.029, allocations: 1.531 MB / 1.211 GB, free: 13.44 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.009464/1.039, allocations: 3.999 MB / 1.215 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.039, allocations: 0 / 1.215 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.04, allocations: 199.8 kB / 1.215 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006418/1.041, allocations: 211.5 kB / 1.216 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.041, allocations: 39.97 kB / 1.216 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008343/1.041, allocations: 0.8099 MB / 1.216 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.041, allocations: 3.938 kB / 1.216 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006062/1.048, allocations: 2.595 MB / 1.219 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.049, allocations: 489.3 kB / 1.219 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/1.05, allocations: 24 kB / 1.219 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/1.051, allocations: 143.6 kB / 1.22 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.052, allocations: 68.84 kB / 1.22 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.052, allocations: 51.97 kB / 1.22 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003802/1.056, allocations: 1.885 MB / 1.222 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/1.056, allocations: 0 / 1.222 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.005088/1.061, allocations: 1.509 MB / 1.223 GB, free: 1.254 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,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 (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002221/1.063, allocations: 0.7944 MB / 1.224 GB, free: 472 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008019/1.071, allocations: 3.929 MB / 1.228 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.071, allocations: 1.625 kB / 1.228 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.073, allocations: 0.7074 MB / 1.228 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007539/1.08, allocations: 1.291 MB / 1.23 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/1.091, allocations: 5.963 MB / 1.235 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/1.093, allocations: 1.869 MB / 1.237 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.094, allocations: 231.3 kB / 1.237 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/1.094, allocations: 4 kB / 1.237 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.6579/1.752, allocations: 61.19 MB / 1.297 GB, free: 198.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsParallel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches