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.0009633/0.0009694, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008467/0.008467, allocations: 170 kB / 16.26 MB, free: 6.613 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.457/1.457, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 11.95 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3125, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05198/0.3645, allocations: 50.14 MB / 1.123 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.39, allocations: 18.08 MB / 1.141 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.3929, allocations: 63.62 kB / 1.141 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01593/0.4089, allocations: 9.74 MB / 1.15 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.4166, allocations: 2.427 MB / 1.153 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005165/0.4218, allocations: 1.869 MB / 1.155 GB, free: 5 MB / 0.9044 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.02281/0.4446, allocations: 15.73 MB / 1.17 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.4476, allocations: 1.419 MB / 1.171 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.4514, allocations: 1.544 MB / 1.173 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.4539, allocations: 1.435 MB / 1.174 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/0.4544, allocations: 80 kB / 1.174 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/0.4584, allocations: 1.789 MB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009051/0.4593, allocations: 0.7512 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/0.4613, allocations: 1.237 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.4667, allocations: 4.193 MB / 1.182 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4668, allocations: 4 kB / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4668, allocations: 0 / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.758e-05/0.4668, allocations: 0 / 1.182 GB, free: 8.715 MB / 0.9356 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.004557/0.4714, allocations: 2.662 MB / 1.185 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4714, allocations: 11.98 kB / 1.185 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005534/0.477, allocations: 0.9956 MB / 1.186 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007208/0.4842, allocations: 3.421 MB / 1.189 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4844, allocations: 105.8 kB / 1.189 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.4846, allocations: 112 kB / 1.189 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.4876, allocations: 1.488 MB / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.4877, allocations: 3.938 kB / 1.191 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.4878, allocations: 44 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.4878, allocations: 42 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.4913, allocations: 1.343 MB / 1.192 GB, free: 14.29 MB / 0.9512 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.01013/0.5014, allocations: 6.797 MB / 1.199 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.5052, allocations: 1.237 MB / 1.2 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.5065, allocations: 0.5217 MB / 1.2 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003961/0.5105, allocations: 2.754 MB / 1.203 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.5105, allocations: 35.12 kB / 1.203 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000648/0.5112, allocations: 142.9 kB / 1.203 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.5112, allocations: 0 / 1.203 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62): time 0.005056/0.5163, allocations: 1.786 MB / 1.205 GB, free: 384 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5163, allocations: 59.97 kB / 1.205 GB, free: 312 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/0.5199, allocations: 2.524 MB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000175/0.5201, allocations: 45.7 kB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000926/0.521, allocations: 1.013 MB / 1.209 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.5213, allocations: 236.8 kB / 1.209 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.5216, allocations: 205.6 kB / 1.209 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5217, allocations: 317.1 kB / 1.209 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.5238, allocations: 1.148 MB / 1.21 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002359/0.5262, allocations: 1.557 MB / 1.212 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004191/0.5304, allocations: 2.504 MB / 1.214 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.5304, allocations: 0 / 1.214 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005533/0.536, allocations: 3.112 MB / 1.217 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.5362, allocations: 344 kB / 1.218 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5362, allocations: 8 kB / 1.218 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.5368, allocations: 144.8 kB / 1.218 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.5383, allocations: 371.4 kB / 1.218 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005742/0.5389, allocations: 0.6616 MB / 1.219 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.5409, allocations: 149.5 kB / 1.219 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.5411, allocations: 103.9 kB / 1.219 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.5411, allocations: 4 kB / 1.219 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004886/0.546, allocations: 2.508 MB / 1.222 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.546, allocations: 8 kB / 1.222 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009769/0.547, allocations: 212.7 kB / 1.222 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.5484, allocations: 355.5 kB / 1.222 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/0.5543, allocations: 3.208 MB / 1.225 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5561, allocations: 141.6 kB / 1.225 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.5563, allocations: 83.97 kB / 1.225 GB, free: 10.72 MB / 0.9825 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.00122/0.5575, allocations: 0.6997 MB / 1.226 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.5579, allocations: 233 kB / 1.226 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.5621, allocations: 1.622 MB / 1.228 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.5621, allocations: 12 kB / 1.228 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5621, allocations: 0 / 1.228 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5621, allocations: 3.984 kB / 1.228 GB, free: 8.125 MB / 0.9825 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.006191/0.5683, allocations: 3.13 MB / 1.231 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.5683, allocations: 4 kB / 1.231 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5693, allocations: 175.8 kB / 1.231 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003518/0.5697, allocations: 104.8 kB / 1.231 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.5698, allocations: 31.91 kB / 1.231 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004558/0.5702, allocations: 0.6421 MB / 1.232 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.5703, allocations: 7.938 kB / 1.232 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.5753, allocations: 2.175 MB / 1.234 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/0.5762, allocations: 421.8 kB / 1.234 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.5764, allocations: 20 kB / 1.235 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.5777, allocations: 119.9 kB / 1.235 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5779, allocations: 48.53 kB / 1.235 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.578, allocations: 43.97 kB / 1.235 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002734/0.5807, allocations: 1.68 MB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5807, allocations: 0 / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003612/0.5844, allocations: 1.217 MB / 1.238 GB, free: 14.15 MB / 0.9981 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.001833/0.5862, allocations: 0.7048 MB / 1.238 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006848/0.5931, allocations: 3.55 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5931, allocations: 4.312 kB / 1.242 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.5946, allocations: 0.5816 MB / 1.242 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/0.6, allocations: 1.067 MB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/0.6074, allocations: 4.89 MB / 1.248 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/0.6088, allocations: 1.713 MB / 1.25 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003039/0.6119, allocations: 0.6739 MB / 1.25 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/0.6125, allocations: 191.3 kB / 1.251 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.6125, allocations: 0 / 1.251 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of Templates: time 0.6617/1.274, allocations: 49.74 MB / 1.299 GB, free: 151.8 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