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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001486/0.001486, allocations: 99.44 kB / 16.35 MB, free: 6.285 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.001648/0.001649, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 59.8 kB / 0.8707 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2938, allocations: 151.6 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5767/0.8705, allocations: 106.5 MB / 1.123 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05387/0.9244, allocations: 35.45 MB / 1.157 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008002/0.9325, allocations: 163.1 kB / 1.158 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03371/0.9663, allocations: 18.57 MB / 1.176 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01801/0.9843, allocations: 5.372 MB / 1.181 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.9965, allocations: 4.11 MB / 1.185 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04641/1.043, allocations: 31.95 MB / 1.216 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007445/1.05, allocations: 3.579 MB / 1.22 GB, free: 11.61 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/1.062, allocations: 4.189 MB / 1.224 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006929/1.069, allocations: 3.336 MB / 1.227 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002321/1.072, allocations: 452 kB / 1.227 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008653/1.08, allocations: 2.976 MB / 1.23 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002987/1.083, allocations: 1.916 MB / 1.232 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006724/1.09, allocations: 3.051 MB / 1.235 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01605/1.106, allocations: 9.291 MB / 1.244 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.106, allocations: 0 / 1.244 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.744e-06/1.106, allocations: 0 / 1.244 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003015/1.107, allocations: 0 / 1.244 GB, free: 2.336 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: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01567/1.122, allocations: 6.394 MB / 1.25 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.122, allocations: 11.98 kB / 1.25 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.134, allocations: 1.909 MB / 1.252 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/1.153, allocations: 7.384 MB / 1.26 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/1.153, allocations: 196.3 kB / 1.26 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009706/1.154, allocations: 247.9 kB / 1.26 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00842/1.163, allocations: 3.4 MB / 1.263 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/1.163, allocations: 3.938 kB / 1.263 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/1.163, allocations: 88 kB / 1.263 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/1.163, allocations: 52 kB / 1.263 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007195/1.17, allocations: 2.569 MB / 1.266 GB, free: 11.7 MB / 0.9669 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.02601/1.196, allocations: 15.21 MB / 1.281 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006114/1.203, allocations: 2.425 MB / 1.283 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002633/1.205, allocations: 1.043 MB / 1.284 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/1.216, allocations: 5.392 MB / 1.289 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/1.216, allocations: 51.56 kB / 1.289 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=115): time 3.256e-06/1.216, allocations: 0 / 1.289 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=115): time 0.01288/1.229, allocations: 4.226 MB / 1.294 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.229, allocations: 60.41 kB / 1.294 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009868/1.239, allocations: 5.677 MB / 1.299 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005122/1.239, allocations: 65.7 kB / 1.299 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.242, allocations: 2.275 MB / 1.301 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007569/1.243, allocations: 422.2 kB / 1.302 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/1.245, allocations: 0.9036 MB / 1.303 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.278e-05/1.245, allocations: 313.1 kB / 1.303 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/1.25, allocations: 2.899 MB / 1.306 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/1.255, allocations: 3.777 MB / 1.31 GB, free: 13.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009609/1.265, allocations: 6.174 MB / 1.316 GB, free: 6.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/1.265, allocations: 8 kB / 1.316 GB, free: 6.793 MB / 1.014 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01418/1.279, allocations: 7.789 MB / 1.323 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.279, allocations: 16.97 kB / 1.323 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.279, allocations: 23.92 kB / 1.323 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/1.281, allocations: 0.9714 MB / 1.324 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/1.285, allocations: 0.6864 MB / 1.325 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/1.287, allocations: 2.959 MB / 1.328 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.292, allocations: 461.5 kB / 1.328 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/1.292, allocations: 223.9 kB / 1.328 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006428/1.299, allocations: 3.517 MB / 1.332 GB, free: 5.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004746/1.304, allocations: 3.309 MB / 1.335 GB, free: 2.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007991/1.312, allocations: 5.225 MB / 1.34 GB, free: 12.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-05/1.312, allocations: 7.938 kB / 1.34 GB, free: 12.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01349/1.325, allocations: 6.924 MB / 1.347 GB, free: 5.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.325, allocations: 12.19 kB / 1.347 GB, free: 5.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/1.325, allocations: 27.98 kB / 1.347 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/1.328, allocations: 1.089 MB / 1.348 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/1.331, allocations: 0.6397 MB / 1.349 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/1.353, allocations: 16.53 MB / 1.365 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.357, allocations: 366.8 kB / 1.365 GB, free: 2.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006584/1.358, allocations: 187.9 kB / 1.365 GB, free: 2.34 MB / 1.061 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.0009152/1.359, allocations: 335.9 kB / 1.366 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.36, allocations: 0.4935 MB / 1.366 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008961/1.369, allocations: 3.522 MB / 1.37 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/1.369, allocations: 23.98 kB / 1.37 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.369, allocations: 7.875 kB / 1.37 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/1.369, allocations: 7.969 kB / 1.37 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/1.384, allocations: 6.491 MB / 1.376 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/1.384, allocations: 4 kB / 1.376 GB, free: 7.328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/1.386, allocations: 307.7 kB / 1.376 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/1.387, allocations: 462.8 kB / 1.377 GB, free: 6.562 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.387, allocations: 55.94 kB / 1.377 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/1.389, allocations: 2.799 MB / 1.38 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.389, allocations: 4.25 kB / 1.38 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/1.397, allocations: 3.261 MB / 1.383 GB, free: 300 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002424/1.4, allocations: 0.8143 MB / 1.384 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.401, allocations: 24 kB / 1.384 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.404, allocations: 155.8 kB / 1.384 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/1.404, allocations: 101 kB / 1.384 GB, free: 15.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.405, allocations: 99.86 kB / 1.384 GB, free: 15.08 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.007841/1.412, allocations: 3.747 MB / 1.388 GB, free: 11.34 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.3e-07/1.412, allocations: 0 / 1.388 GB, free: 11.34 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.008873/1.421, allocations: 2.402 MB / 1.39 GB, free: 8.934 MB / 1.092 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.002432/1.424, allocations: 0.9395 MB / 1.391 GB, free: 7.988 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01579/1.44, allocations: 8.408 MB / 1.399 GB, free: 15.53 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.44, allocations: 0 / 1.399 GB, free: 15.53 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.443, allocations: 1.218 MB / 1.4 GB, free: 14.31 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/1.455, allocations: 2.546 MB / 1.403 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/1.472, allocations: 8.635 MB / 1.411 GB, free: 3.164 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004019/1.476, allocations: 2.961 MB / 1.414 GB, free: 180 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006542/1.483, allocations: 1.394 MB / 1.415 GB, free: 14.78 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.484, allocations: 395.2 kB / 1.416 GB, free: 14.39 MB / 1.123 GB Notification: Performance of SimCode: time 1.533e-06/1.484, allocations: 0 / 1.416 GB, free: 14.39 MB / 1.123 GB Notification: Performance of Templates: time 0.1741/1.658, allocations: 110 MB / 1.523 GB, free: 1.691 MB / 1.217 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 -s gbode -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/jenkins1/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