Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006418/0.006418, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001483/0.001483, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8692/0.8704, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05512/0.9256, allocations: 50.73 MB / 1.137 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02579/0.9515, allocations: 16.13 MB / 1.153 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.9558, allocations: 75.41 kB / 1.153 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.9596, allocations: 1.06 MB / 1.154 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009585/0.9693, allocations: 2.436 MB / 1.157 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007175/0.9765, allocations: 1.995 MB / 1.159 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009706/0.9862, allocations: 4.43 MB / 1.163 GB, free: 456 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003394/0.9897, allocations: 1.654 MB / 1.165 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005549/0.9952, allocations: 1.841 MB / 1.166 GB, free: 14.78 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.9986, allocations: 1.359 MB / 1.168 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007297/0.9993, allocations: 187.9 kB / 1.168 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/1.004, allocations: 1.56 MB / 1.169 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.005, allocations: 0.6021 MB / 1.17 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001823/1.007, allocations: 1.043 MB / 1.171 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006397/1.013, allocations: 3.422 MB / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.013, allocations: 0 / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/1.013, allocations: 0 / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.818e-05/1.013, allocations: 0 / 1.174 GB, free: 10.15 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004892/1.018, allocations: 2.388 MB / 1.177 GB, free: 8.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.018, allocations: 12.75 kB / 1.177 GB, free: 8.367 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/1.023, allocations: 0.7327 MB / 1.177 GB, free: 8.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/1.028, allocations: 1.919 MB / 1.179 GB, free: 6.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/1.028, allocations: 94.73 kB / 1.179 GB, free: 6.602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/1.028, allocations: 116.2 kB / 1.179 GB, free: 6.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/1.031, allocations: 1.29 MB / 1.181 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.031, allocations: 1.312 kB / 1.181 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/1.031, allocations: 36.22 kB / 1.181 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/1.031, allocations: 40.56 kB / 1.181 GB, free: 5.723 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/1.034, allocations: 1.044 MB / 1.182 GB, free: 5.219 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.008774/1.043, allocations: 5.905 MB / 1.188 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/1.045, allocations: 0.8967 MB / 1.188 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009945/1.046, allocations: 398.2 kB / 1.189 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/1.05, allocations: 2.197 MB / 1.191 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/1.05, allocations: 49.67 kB / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 3.587e-06/1.05, allocations: 0 / 1.191 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.00411/1.054, allocations: 1.343 MB / 1.192 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/1.054, allocations: 57.41 kB / 1.192 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/1.056, allocations: 1.502 MB / 1.194 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/1.056, allocations: 49.53 kB / 1.194 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006624/1.057, allocations: 0.7785 MB / 1.195 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.057, allocations: 203 kB / 1.195 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/1.058, allocations: 214.1 kB / 1.195 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.058, allocations: 346.8 kB / 1.195 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.059, allocations: 463.4 kB / 1.196 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/1.06, allocations: 0.7672 MB / 1.197 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/1.063, allocations: 1.176 MB / 1.198 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.063, allocations: 2.594 kB / 1.198 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003647/1.067, allocations: 1.454 MB / 1.199 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.067, allocations: 8.656 kB / 1.199 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.067, allocations: 8 kB / 1.199 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/1.067, allocations: 145.8 kB / 1.199 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.068, allocations: 243.3 kB / 1.2 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006491/1.069, allocations: 0.6632 MB / 1.2 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.07, allocations: 126.9 kB / 1.2 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.071, allocations: 60.72 kB / 1.2 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001608/1.072, allocations: 0.7245 MB / 1.201 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/1.073, allocations: 0.6951 MB / 1.202 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0023/1.076, allocations: 1.057 MB / 1.203 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.905e-06/1.076, allocations: 3.5 kB / 1.203 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003732/1.079, allocations: 1.341 MB / 1.204 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.079, allocations: 11.72 kB / 1.204 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.079, allocations: 12.12 kB / 1.204 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/1.08, allocations: 212.9 kB / 1.204 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/1.081, allocations: 228.3 kB / 1.205 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/1.088, allocations: 3.504 MB / 1.208 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.089, allocations: 103.3 kB / 1.208 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.089, allocations: 55.97 kB / 1.208 GB, free: 1.297 MB / 0.9356 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0003883/1.09, allocations: 236.6 kB / 1.208 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/1.09, allocations: 154 kB / 1.209 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/1.093, allocations: 1.279 MB / 1.21 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.093, allocations: 15.94 kB / 1.21 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.093, allocations: 4 kB / 1.21 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.093, allocations: 3.984 kB / 1.21 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/1.098, allocations: 2.486 MB / 1.212 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.098, allocations: 4 kB / 1.212 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/1.099, allocations: 147.8 kB / 1.212 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/1.099, allocations: 112.6 kB / 1.212 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/1.099, allocations: 19.98 kB / 1.212 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004544/1.1, allocations: 0.6344 MB / 1.213 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.1, allocations: 3.984 kB / 1.213 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/1.104, allocations: 1.736 MB / 1.215 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/1.104, allocations: 334.8 kB / 1.215 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/1.105, allocations: 12 kB / 1.215 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/1.105, allocations: 63.88 kB / 1.215 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/1.106, allocations: 44.5 kB / 1.215 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/1.106, allocations: 35.97 kB / 1.215 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001613/1.107, allocations: 1.024 MB / 1.216 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.107, allocations: 4 kB / 1.216 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00287/1.11, allocations: 0.8926 MB / 1.217 GB, free: 7.906 MB / 0.9512 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 (64): * Single equations (assignments): 57 * 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.001368/1.112, allocations: 0.5539 MB / 1.218 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004298/1.116, allocations: 1.778 MB / 1.219 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.116, allocations: 0 / 1.219 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.117, allocations: 480.1 kB / 1.22 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/1.12, allocations: 0.7586 MB / 1.221 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/1.125, allocations: 2.837 MB / 1.223 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/1.126, allocations: 1.36 MB / 1.225 GB, free: 72 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00146/1.128, allocations: 409.2 kB / 1.225 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/1.128, allocations: 139.4 kB / 1.225 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of SimCode: time 6.92e-07/1.128, allocations: 3.938 kB / 1.225 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of Templates: time 0.06192/1.19, allocations: 37.09 MB / 1.261 GB, free: 10.88 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches