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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00139/0.00139, allocations: 110.8 kB / 15.99 MB, free: 6.355 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.001441/0.001441, allocations: 197.3 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.679/2.679, allocations: 482.2 MB / 0.7548 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 60.84 kB / 0.9238 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7607, allocations: 162.2 MB / 1.082 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05776/0.8185, allocations: 51.14 MB / 1.132 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02845/0.847, allocations: 18.04 MB / 1.15 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.8506, allocations: 66.94 kB / 1.15 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01721/0.8679, allocations: 10.04 MB / 1.16 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.8758, allocations: 2.444 MB / 1.162 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005522/0.8813, allocations: 1.888 MB / 1.164 GB, free: 7.441 MB / 0.8887 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.02171/0.9031, allocations: 14.54 MB / 1.178 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.9061, allocations: 1.693 MB / 1.18 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.9113, allocations: 1.96 MB / 1.182 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.9141, allocations: 1.529 MB / 1.183 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006466/0.9147, allocations: 200 kB / 1.183 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/0.9193, allocations: 1.891 MB / 1.185 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.9204, allocations: 0.8879 MB / 1.186 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.9222, allocations: 1.372 MB / 1.187 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.927, allocations: 3.407 MB / 1.191 GB, free: 36 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9271, allocations: 0 / 1.191 GB, free: 36 kB / 0.9044 GB Notification: Performance of FrontEnd: time 3.477e-06/0.9271, allocations: 3.984 kB / 1.191 GB, free: 32 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.19e-05/0.9271, allocations: 0 / 1.191 GB, free: 32 kB / 0.9044 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.005551/0.9327, allocations: 3.121 MB / 1.194 GB, free: 12.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.9327, allocations: 12.03 kB / 1.194 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.9381, allocations: 0.9331 MB / 1.195 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007654/0.9458, allocations: 3.426 MB / 1.198 GB, free: 8.391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.946, allocations: 97.94 kB / 1.198 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.9463, allocations: 116 kB / 1.198 GB, free: 8.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.9494, allocations: 1.488 MB / 1.2 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9495, allocations: 0 / 1.2 GB, free: 6.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.9496, allocations: 51.94 kB / 1.2 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.9496, allocations: 37.98 kB / 1.2 GB, free: 6.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.953, allocations: 1.347 MB / 1.201 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.9637, allocations: 7.033 MB / 1.208 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.9675, allocations: 1.234 MB / 1.209 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.9688, allocations: 0.52 MB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004272/0.9731, allocations: 2.754 MB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.9732, allocations: 39.12 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006097/0.9738, allocations: 114.9 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.374e-06/0.9738, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.005106/0.9789, allocations: 1.794 MB / 1.214 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.979, allocations: 59.97 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.9825, allocations: 2.524 MB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.9827, allocations: 41.7 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009784/0.9837, allocations: 1.028 MB / 1.218 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.9839, allocations: 236.8 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006572/0.9846, allocations: 435.1 kB / 1.218 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9847, allocations: 301.1 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.9869, allocations: 1.164 MB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.9894, allocations: 1.569 MB / 1.221 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.9936, allocations: 2.5 MB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.9937, allocations: 4 kB / 1.224 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005645/0.9993, allocations: 3.104 MB / 1.227 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.9993, allocations: 8 kB / 1.227 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.9994, allocations: 8 kB / 1.227 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/0.9999, allocations: 152.8 kB / 1.227 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.001, allocations: 367.5 kB / 1.227 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006615/1.002, allocations: 0.6655 MB / 1.228 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.004, allocations: 149.2 kB / 1.228 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/1.004, allocations: 103.9 kB / 1.228 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002641/1.007, allocations: 1.527 MB / 1.23 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002166/1.009, allocations: 1.377 MB / 1.231 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00358/1.013, allocations: 2.133 MB / 1.233 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.259e-06/1.013, allocations: 0 / 1.233 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=240) (initialization_lambda0): time 0.005405/1.018, allocations: 2.752 MB / 1.236 GB, free: 208 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.018, allocations: 11.94 kB / 1.236 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.018, allocations: 8.625 kB / 1.236 GB, free: 188 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.019, allocations: 212.7 kB / 1.236 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.021, allocations: 347.5 kB / 1.236 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/1.027, allocations: 3.507 MB / 1.24 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.029, allocations: 157.2 kB / 1.24 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.029, allocations: 79.97 kB / 1.24 GB, free: 11.68 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.000429/1.03, allocations: 255.9 kB / 1.24 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/1.03, allocations: 232.9 kB / 1.24 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/1.034, allocations: 1.632 MB / 1.242 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/1.034, allocations: 15.94 kB / 1.242 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.034, allocations: 3.984 kB / 1.242 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.035, allocations: 3.984 kB / 1.242 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006329/1.041, allocations: 3.137 MB / 1.245 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.041, allocations: 3.938 kB / 1.245 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.042, allocations: 171.9 kB / 1.245 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/1.042, allocations: 104.8 kB / 1.245 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/1.042, allocations: 27.98 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005244/1.043, allocations: 0.6421 MB / 1.246 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.043, allocations: 0 / 1.246 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/1.048, allocations: 2.236 MB / 1.248 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000918/1.049, allocations: 421.8 kB / 1.249 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.049, allocations: 16 kB / 1.249 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.051, allocations: 103.9 kB / 1.249 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.051, allocations: 52.58 kB / 1.249 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.051, allocations: 47.97 kB / 1.249 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002536/1.053, allocations: 1.688 MB / 1.251 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.053, allocations: 3.938 kB / 1.251 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003254/1.057, allocations: 1.217 MB / 1.252 GB, free: 15.5 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 (70): * Single equations (assignments): 63 * 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.001587/1.058, allocations: 0.6929 MB / 1.252 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007223/1.065, allocations: 3.632 MB / 1.256 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.065, allocations: 0 / 1.256 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.067, allocations: 0.606 MB / 1.257 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/1.071, allocations: 1.159 MB / 1.258 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/1.08, allocations: 4.998 MB / 1.263 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.081, allocations: 1.701 MB / 1.264 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008069/1.082, allocations: 203.3 kB / 1.264 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/1.082, allocations: 0 / 1.264 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.07568/1.158, allocations: 52.85 MB / 1.316 GB, free: 13.88 MB / 1.045 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