Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00696/0.00696, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001242/0.001242, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3606, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.8349/1.196, allocations: 106.5 MB / 1.271 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05096/1.247, allocations: 35.45 MB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009251/1.256, allocations: 160.2 kB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/1.268, allocations: 2.92 MB / 1.308 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02211/1.29, allocations: 5.565 MB / 1.314 GB, free: 13.26 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.014/1.304, allocations: 4.131 MB / 1.318 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.05203/1.356, allocations: 32.39 MB / 1.349 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008203/1.364, allocations: 3.689 MB / 1.353 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01272/1.377, allocations: 4.33 MB / 1.357 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007088/1.384, allocations: 3.449 MB / 1.36 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/1.385, allocations: 481.1 kB / 1.361 GB, free: 9.973 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008373/1.394, allocations: 3.006 MB / 1.364 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002029/1.396, allocations: 1.959 MB / 1.366 GB, free: 7.316 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004844/1.401, allocations: 3.097 MB / 1.369 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/1.416, allocations: 9.502 MB / 1.378 GB, free: 11.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.417, allocations: 4 kB / 1.378 GB, free: 11.21 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/1.417, allocations: 4 kB / 1.378 GB, free: 11.21 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002268/1.417, allocations: 0 / 1.378 GB, free: 11.21 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01359/1.43, allocations: 6.685 MB / 1.385 GB, free: 4.449 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/1.43, allocations: 19.92 kB / 1.385 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/1.442, allocations: 1.939 MB / 1.387 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01825/1.461, allocations: 7.653 MB / 1.394 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/1.461, allocations: 192.2 kB / 1.394 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000743/1.462, allocations: 251.6 kB / 1.394 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006685/1.468, allocations: 3.403 MB / 1.398 GB, free: 6.945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/1.468, allocations: 11.92 kB / 1.398 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/1.469, allocations: 92 kB / 1.398 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.469, allocations: 52 kB / 1.398 GB, free: 6.793 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006413/1.475, allocations: 2.565 MB / 1.4 GB, free: 4.211 MB / 1.061 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.02648/1.502, allocations: 15.28 MB / 1.415 GB, free: 4.141 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006568/1.508, allocations: 2.409 MB / 1.418 GB, free: 1.727 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/1.511, allocations: 1.039 MB / 1.419 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/1.522, allocations: 5.443 MB / 1.424 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/1.523, allocations: 51.56 kB / 1.424 GB, free: 10.91 MB / 1.092 GB Notification: Performance of pre-optimization done (n=115): time 3.327e-06/1.523, allocations: 0 / 1.424 GB, free: 10.91 MB / 1.092 GB Notification: Performance of matching and sorting (n=115): time 0.01323/1.536, allocations: 4.247 MB / 1.428 GB, free: 6.586 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/1.536, allocations: 64.41 kB / 1.428 GB, free: 6.512 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/1.548, allocations: 5.736 MB / 1.434 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006542/1.549, allocations: 61.7 kB / 1.434 GB, free: 0.7109 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.003061/1.552, allocations: 2.321 MB / 1.436 GB, free: 14.48 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008811/1.553, allocations: 445.2 kB / 1.437 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/1.556, allocations: 0.9148 MB / 1.438 GB, free: 13.13 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.556, allocations: 309.1 kB / 1.438 GB, free: 12.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00514/1.561, allocations: 2.903 MB / 1.441 GB, free: 9.914 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/1.567, allocations: 3.785 MB / 1.444 GB, free: 5.797 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.577, allocations: 6.172 MB / 1.45 GB, free: 15.36 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.41e-05/1.577, allocations: 8 kB / 1.45 GB, free: 15.35 MB / 1.123 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01661/1.594, allocations: 7.816 MB / 1.458 GB, free: 7.492 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/1.594, allocations: 12 kB / 1.458 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/1.594, allocations: 20 kB / 1.458 GB, free: 7.461 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.596, allocations: 0.9797 MB / 1.459 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.599, allocations: 0.6748 MB / 1.46 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/1.602, allocations: 2.971 MB / 1.463 GB, free: 2.723 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/1.607, allocations: 485.2 kB / 1.463 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/1.608, allocations: 231.9 kB / 1.463 GB, free: 2.02 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006582/1.614, allocations: 3.525 MB / 1.467 GB, free: 14.49 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005285/1.62, allocations: 3.305 MB / 1.47 GB, free: 10.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008451/1.628, allocations: 5.215 MB / 1.475 GB, free: 5.371 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.866e-05/1.628, allocations: 4 kB / 1.475 GB, free: 5.367 MB / 1.139 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01381/1.642, allocations: 6.946 MB / 1.482 GB, free: 14.38 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/1.642, allocations: 12 kB / 1.482 GB, free: 14.37 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/1.642, allocations: 20 kB / 1.482 GB, free: 14.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/1.645, allocations: 1.085 MB / 1.483 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/1.649, allocations: 0.6396 MB / 1.484 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/1.671, allocations: 16.55 MB / 1.5 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/1.676, allocations: 389.5 kB / 1.5 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007417/1.677, allocations: 187.9 kB / 1.5 GB, free: 10.83 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001065/1.678, allocations: 335.7 kB / 1.501 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.679, allocations: 0.516 MB / 1.501 GB, free: 9.977 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009378/1.689, allocations: 3.534 MB / 1.505 GB, free: 6.426 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.689, allocations: 15.98 kB / 1.505 GB, free: 6.41 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.689, allocations: 7.938 kB / 1.505 GB, free: 6.402 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.689, allocations: 7.969 kB / 1.505 GB, free: 6.395 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.704, allocations: 6.529 MB / 1.511 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.704, allocations: 0 / 1.511 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.706, allocations: 311.7 kB / 1.511 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/1.707, allocations: 462.9 kB / 1.512 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.707, allocations: 51.94 kB / 1.512 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/1.709, allocations: 2.801 MB / 1.514 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.709, allocations: 8.016 kB / 1.514 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.718, allocations: 3.303 MB / 1.518 GB, free: 8.734 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/1.721, allocations: 0.8523 MB / 1.519 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00232/1.724, allocations: 20 kB / 1.519 GB, free: 7.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/1.728, allocations: 163.8 kB / 1.519 GB, free: 7.68 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003181/1.728, allocations: 93.12 kB / 1.519 GB, free: 7.586 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003332/1.728, allocations: 99.92 kB / 1.519 GB, free: 7.488 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.008949/1.737, allocations: 3.802 MB / 1.523 GB, free: 3.695 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.4e-07/1.737, allocations: 0 / 1.523 GB, free: 3.695 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.009739/1.747, allocations: 2.41 MB / 1.525 GB, free: 1.281 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002865/1.75, allocations: 0.9528 MB / 1.526 GB, free: 388 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01775/1.768, allocations: 8.412 MB / 1.534 GB, free: 7.922 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.768, allocations: 0 / 1.534 GB, free: 7.922 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003476/1.771, allocations: 1.211 MB / 1.535 GB, free: 6.711 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01247/1.784, allocations: 2.537 MB / 1.538 GB, free: 4.246 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.803, allocations: 8.815 MB / 1.546 GB, free: 11.39 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004879/1.808, allocations: 2.961 MB / 1.549 GB, free: 8.395 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.006612/1.814, allocations: 1.383 MB / 1.551 GB, free: 7.008 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.816, allocations: 395.2 kB / 1.551 GB, free: 6.621 MB / 1.217 GB Notification: Performance of SimCode: time 7.92e-07/1.816, allocations: 3.938 kB / 1.551 GB, free: 6.617 MB / 1.217 GB Notification: Performance of Templates: time 0.1856/2.001, allocations: 110.9 MB / 1.659 GB, free: 9.215 MB / 1.326 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches