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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 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.00189/0.00189, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001825, allocations: 67.98 kB / 0.912 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3339, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05353/0.3875, allocations: 51.51 MB / 1.118 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02875/0.4163, allocations: 18.17 MB / 1.136 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.4206, allocations: 75.62 kB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.02024/0.4409, allocations: 9.735 MB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009338/0.4503, allocations: 2.62 MB / 1.148 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.4565, allocations: 2.056 MB / 1.15 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02264/0.4791, allocations: 13.84 MB / 1.164 GB, free: 8.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.4826, allocations: 1.67 MB / 1.166 GB, free: 6.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005494/0.4881, allocations: 1.885 MB / 1.167 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.4915, allocations: 1.439 MB / 1.169 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006524/0.4922, allocations: 204 kB / 1.169 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005129/0.4973, allocations: 1.876 MB / 1.171 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.4986, allocations: 0.8723 MB / 1.172 GB, free: 196 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.5012, allocations: 1.36 MB / 1.173 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.511, allocations: 4.327 MB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5111, allocations: 4 kB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.737e-06/0.5111, allocations: 0 / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001125/0.5112, allocations: 0 / 1.177 GB, free: 10.48 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.007501/0.5187, allocations: 3.117 MB / 1.18 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5188, allocations: 11.98 kB / 1.18 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005797/0.5246, allocations: 0.9253 MB / 1.181 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.5331, allocations: 3.355 MB / 1.184 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.5333, allocations: 93.8 kB / 1.185 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.5337, allocations: 116 kB / 1.185 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.537, allocations: 1.49 MB / 1.186 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.5371, allocations: 7.984 kB / 1.186 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5372, allocations: 44 kB / 1.186 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.5373, allocations: 38 kB / 1.186 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.5407, allocations: 1.331 MB / 1.187 GB, free: 15.74 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.01277/0.5535, allocations: 6.961 MB / 1.194 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/0.5576, allocations: 1.208 MB / 1.195 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.559, allocations: 0.4944 MB / 1.196 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004953/0.564, allocations: 2.719 MB / 1.199 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.5641, allocations: 39.12 kB / 1.199 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 3.536e-06/0.5641, allocations: 0 / 1.199 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.00586/0.57, allocations: 1.736 MB / 1.2 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.5701, allocations: 59.97 kB / 1.2 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/0.5762, allocations: 2.552 MB / 1.203 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003888/0.5766, allocations: 41.7 kB / 1.203 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/0.5781, allocations: 1.017 MB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004857/0.5786, allocations: 232.9 kB / 1.204 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.5797, allocations: 439.1 kB / 1.205 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5798, allocations: 301.1 kB / 1.205 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/0.5823, allocations: 1.153 MB / 1.206 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.5851, allocations: 1.542 MB / 1.207 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/0.5897, allocations: 2.477 MB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.5897, allocations: 4 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006363/0.5961, allocations: 3.053 MB / 1.213 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.5962, allocations: 9.156 kB / 1.213 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.5962, allocations: 15.98 kB / 1.213 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.5968, allocations: 152.8 kB / 1.213 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.5985, allocations: 363.5 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007214/0.5992, allocations: 0.6693 MB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.6014, allocations: 211.6 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.6016, allocations: 99.95 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003073/0.6047, allocations: 1.503 MB / 1.216 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002331/0.6071, allocations: 1.366 MB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00382/0.6109, allocations: 2.09 MB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.378e-06/0.6109, allocations: 0 / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005912/0.6169, allocations: 2.713 MB / 1.222 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.6169, allocations: 11.94 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.6169, allocations: 8.625 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.618, allocations: 212.7 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.6194, allocations: 351.5 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/0.626, allocations: 3.512 MB / 1.226 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.6284, allocations: 187.6 kB / 1.226 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003463/0.6288, allocations: 79.98 kB / 1.226 GB, free: 6.711 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 (167): * Single equations (assignments): 162 * 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.0006434/0.6294, allocations: 252.5 kB / 1.226 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007336/0.6302, allocations: 228.9 kB / 1.227 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/0.6349, allocations: 1.583 MB / 1.228 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.635, allocations: 11.94 kB / 1.228 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.635, allocations: 0 / 1.228 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.635, allocations: 3.984 kB / 1.228 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.6427, allocations: 3.093 MB / 1.231 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6428, allocations: 0 / 1.231 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.6438, allocations: 167.8 kB / 1.231 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.6442, allocations: 108.7 kB / 1.231 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.684e-05/0.6443, allocations: 31.97 kB / 1.231 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005302/0.6448, allocations: 0.6421 MB / 1.232 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6448, allocations: 0 / 1.232 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.6502, allocations: 2.156 MB / 1.234 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.6514, allocations: 421.8 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006103/0.652, allocations: 19.98 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.6535, allocations: 71.92 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6537, allocations: 56.44 kB / 1.235 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/0.6538, allocations: 43.97 kB / 1.235 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003676/0.6575, allocations: 1.707 MB / 1.236 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6575, allocations: 0 / 1.236 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004809/0.6623, allocations: 1.205 MB / 1.238 GB, free: 10.73 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 (67): * Single equations (assignments): 60 * 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.002419/0.6648, allocations: 0.7142 MB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008533/0.6733, allocations: 3.569 MB / 1.242 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6734, allocations: 0 / 1.242 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.6751, allocations: 0.5775 MB / 1.242 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006071/0.6812, allocations: 1.151 MB / 1.243 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009086/0.6903, allocations: 4.127 MB / 1.247 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5471/1.237, allocations: 1.71 MB / 1.249 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003441/1.241, allocations: 0.6629 MB / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/1.242, allocations: 190.8 kB / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.555e-06/1.242, allocations: 0 / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.117/1.359, allocations: 51.88 MB / 1.301 GB, free: 153 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