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.008741/0.008741, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001558/0.001558, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.63/2.63, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3458, allocations: 151.6 MB / 1.167 GB, free: 6.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.8478/1.194, allocations: 106.4 MB / 1.271 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.08478/1.278, allocations: 35.46 MB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/1.291, allocations: 159.4 kB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01617/1.308, allocations: 2.948 MB / 1.308 GB, free: 15.62 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03248/1.34, allocations: 5.787 MB / 1.314 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02238/1.363, allocations: 4.147 MB / 1.318 GB, free: 11.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.05687/1.419, allocations: 32.4 MB / 1.35 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007845/1.427, allocations: 3.697 MB / 1.353 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/1.44, allocations: 4.42 MB / 1.357 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007557/1.447, allocations: 3.451 MB / 1.361 GB, free: 9.672 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001909/1.449, allocations: 480.4 kB / 1.361 GB, free: 9.672 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009185/1.458, allocations: 3.008 MB / 1.364 GB, free: 8.336 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003264/1.462, allocations: 1.966 MB / 1.366 GB, free: 7.012 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007447/1.469, allocations: 3.097 MB / 1.369 GB, free: 4.008 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/1.49, allocations: 9.496 MB / 1.378 GB, free: 10.8 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.49, allocations: 3.984 kB / 1.378 GB, free: 10.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.364e-06/1.49, allocations: 0 / 1.378 GB, free: 10.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002612/1.49, allocations: 0 / 1.378 GB, free: 10.79 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.01488/1.505, allocations: 6.69 MB / 1.385 GB, free: 4.031 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.505, allocations: 19.92 kB / 1.385 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.516, allocations: 1.947 MB / 1.387 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.535, allocations: 7.648 MB / 1.394 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/1.535, allocations: 188.3 kB / 1.395 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008417/1.536, allocations: 244 kB / 1.395 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006571/1.543, allocations: 3.411 MB / 1.398 GB, free: 6.523 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/1.543, allocations: 11.92 kB / 1.398 GB, free: 6.512 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/1.543, allocations: 88 kB / 1.398 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/1.543, allocations: 52 kB / 1.398 GB, free: 6.375 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006383/1.549, allocations: 2.565 MB / 1.401 GB, free: 3.793 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.02487/1.574, allocations: 15.29 MB / 1.416 GB, free: 3.715 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005813/1.58, allocations: 2.409 MB / 1.418 GB, free: 1.301 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/1.583, allocations: 1.045 MB / 1.419 GB, free: 264 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009874/1.593, allocations: 5.443 MB / 1.424 GB, free: 10.54 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.593, allocations: 47.56 kB / 1.424 GB, free: 10.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=115): time 2.895e-06/1.593, allocations: 0 / 1.424 GB, free: 10.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=115): time 0.01255/1.605, allocations: 4.248 MB / 1.429 GB, free: 6.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/1.605, allocations: 60.41 kB / 1.429 GB, free: 6.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008902/1.614, allocations: 5.74 MB / 1.434 GB, free: 360 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005743/1.615, allocations: 65.7 kB / 1.434 GB, free: 288 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/1.617, allocations: 2.303 MB / 1.437 GB, free: 13.99 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/1.618, allocations: 445.7 kB / 1.437 GB, free: 13.56 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.619, allocations: 0.9105 MB / 1.438 GB, free: 12.65 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.619, allocations: 305.1 kB / 1.438 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/1.624, allocations: 2.907 MB / 1.441 GB, free: 9.434 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/1.629, allocations: 3.773 MB / 1.445 GB, free: 5.328 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009622/1.639, allocations: 6.179 MB / 1.451 GB, free: 14.88 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/1.639, allocations: 8 kB / 1.451 GB, free: 14.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01424/1.653, allocations: 7.824 MB / 1.458 GB, free: 7.008 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/1.653, allocations: 16.03 kB / 1.458 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/1.653, allocations: 20 kB / 1.458 GB, free: 6.973 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/1.655, allocations: 0.9735 MB / 1.459 GB, free: 5.988 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/1.658, allocations: 0.6748 MB / 1.46 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/1.661, allocations: 2.971 MB / 1.463 GB, free: 2.238 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/1.665, allocations: 485.1 kB / 1.463 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/1.666, allocations: 227.8 kB / 1.464 GB, free: 1.539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005918/1.672, allocations: 3.521 MB / 1.467 GB, free: 14.01 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004656/1.676, allocations: 3.309 MB / 1.47 GB, free: 10.37 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007918/1.684, allocations: 5.217 MB / 1.475 GB, free: 4.887 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/1.684, allocations: 8 kB / 1.475 GB, free: 4.879 MB / 1.139 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01289/1.697, allocations: 6.948 MB / 1.482 GB, free: 13.89 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.697, allocations: 15.98 kB / 1.482 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/1.697, allocations: 23.94 kB / 1.482 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.7, allocations: 1.077 MB / 1.483 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/1.703, allocations: 0.6435 MB / 1.484 GB, free: 12.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/1.726, allocations: 16.54 MB / 1.5 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.731, allocations: 386.8 kB / 1.5 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004967/1.731, allocations: 195.9 kB / 1.501 GB, free: 10.35 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.0007493/1.732, allocations: 335.7 kB / 1.501 GB, free: 10.01 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.733, allocations: 0.5121 MB / 1.501 GB, free: 9.496 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/1.742, allocations: 3.533 MB / 1.505 GB, free: 5.945 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.742, allocations: 19.98 kB / 1.505 GB, free: 5.926 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.742, allocations: 7.938 kB / 1.505 GB, free: 5.918 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.742, allocations: 7.969 kB / 1.505 GB, free: 5.91 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.756, allocations: 6.528 MB / 1.511 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/1.756, allocations: 4 kB / 1.511 GB, free: 15.33 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.758, allocations: 311.7 kB / 1.512 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.759, allocations: 458.9 kB / 1.512 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/1.759, allocations: 55.94 kB / 1.512 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/1.761, allocations: 2.795 MB / 1.515 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.761, allocations: 8.234 kB / 1.515 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007932/1.769, allocations: 3.301 MB / 1.518 GB, free: 8.254 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.772, allocations: 0.8523 MB / 1.519 GB, free: 7.379 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008063/1.773, allocations: 28 kB / 1.519 GB, free: 7.352 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.775, allocations: 155.8 kB / 1.519 GB, free: 7.199 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.775, allocations: 101.1 kB / 1.519 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/1.776, allocations: 95.92 kB / 1.519 GB, free: 7.004 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006586/1.782, allocations: 3.798 MB / 1.523 GB, free: 3.215 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.22e-07/1.782, allocations: 0 / 1.523 GB, free: 3.215 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00711/1.789, allocations: 2.415 MB / 1.525 GB, free: 0.7969 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.002457/1.792, allocations: 0.9577 MB / 1.526 GB, free: 15.89 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01577/1.808, allocations: 8.407 MB / 1.534 GB, free: 7.441 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.808, allocations: 4.25 kB / 1.534 GB, free: 7.438 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003123/1.811, allocations: 1.21 MB / 1.536 GB, free: 6.227 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01087/1.822, allocations: 2.546 MB / 1.538 GB, free: 3.754 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.838, allocations: 8.813 MB / 1.547 GB, free: 10.89 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.841, allocations: 2.95 MB / 1.55 GB, free: 7.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.005768/1.847, allocations: 1.389 MB / 1.551 GB, free: 6.52 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.848, allocations: 395.2 kB / 1.551 GB, free: 6.133 MB / 1.217 GB Notification: Performance of SimCode: time 9.62e-07/1.848, allocations: 4 kB / 1.551 GB, free: 6.129 MB / 1.217 GB Notification: Performance of Templates: time 0.1856/2.033, allocations: 110.9 MB / 1.66 GB, free: 8.734 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