Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_latest_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_latest_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.008204/0.008204, allocations: 101.3 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.001783/0.001783, allocations: 201 kB / 16.68 MB, free: 5.961 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.929/2.929, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3361, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.7546/1.091, allocations: 106.5 MB / 1.312 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05213/1.143, allocations: 35.44 MB / 1.346 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007164/1.15, allocations: 162.2 kB / 1.346 GB, free: 4.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008311/1.158, allocations: 2.93 MB / 1.349 GB, free: 2.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01553/1.174, allocations: 5.558 MB / 1.355 GB, free: 15.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/1.185, allocations: 4.137 MB / 1.359 GB, free: 13.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04768/1.232, allocations: 32.38 MB / 1.39 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00602/1.238, allocations: 3.696 MB / 1.394 GB, free: 8.332 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009094/1.247, allocations: 4.422 MB / 1.398 GB, free: 3.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00563/1.253, allocations: 3.453 MB / 1.402 GB, free: 456 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001111/1.254, allocations: 480 kB / 1.402 GB, free: 15.97 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/1.261, allocations: 3.007 MB / 1.405 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001941/1.263, allocations: 1.967 MB / 1.407 GB, free: 10.99 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003892/1.267, allocations: 3.094 MB / 1.41 GB, free: 7.883 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/1.281, allocations: 9.474 MB / 1.419 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.281, allocations: 3.938 kB / 1.419 GB, free: 14.38 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.304e-06/1.281, allocations: 0 / 1.419 GB, free: 14.38 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000283/1.281, allocations: 0 / 1.419 GB, free: 14.38 MB / 1.107 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.01383/1.295, allocations: 6.476 MB / 1.426 GB, free: 7.781 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.295, allocations: 12.62 kB / 1.426 GB, free: 7.77 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/1.306, allocations: 1.912 MB / 1.427 GB, free: 5.848 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/1.322, allocations: 7.598 MB / 1.435 GB, free: 14.15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/1.323, allocations: 188.3 kB / 1.435 GB, free: 13.96 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/1.323, allocations: 251.9 kB / 1.435 GB, free: 13.72 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006452/1.33, allocations: 3.396 MB / 1.439 GB, free: 10.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/1.33, allocations: 7.938 kB / 1.439 GB, free: 10.17 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/1.33, allocations: 88 kB / 1.439 GB, free: 10.09 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/1.33, allocations: 55.94 kB / 1.439 GB, free: 10.03 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006482/1.337, allocations: 2.569 MB / 1.441 GB, free: 7.445 MB / 1.123 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.02402/1.361, allocations: 15.24 MB / 1.456 GB, free: 7.297 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/1.366, allocations: 2.417 MB / 1.459 GB, free: 4.871 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.369, allocations: 1.05 MB / 1.46 GB, free: 3.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009064/1.378, allocations: 5.427 MB / 1.465 GB, free: 14.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.378, allocations: 51.55 kB / 1.465 GB, free: 14.01 MB / 1.154 GB Notification: Performance of pre-optimization done (n=115): time 3.096e-06/1.378, allocations: 0 / 1.465 GB, free: 14.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=115): time 0.01237/1.391, allocations: 4.222 MB / 1.469 GB, free: 9.684 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/1.391, allocations: 64.41 kB / 1.469 GB, free: 9.609 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008454/1.399, allocations: 5.736 MB / 1.475 GB, free: 3.875 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004152/1.4, allocations: 57.7 kB / 1.475 GB, free: 3.812 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/1.401, allocations: 2.283 MB / 1.477 GB, free: 1.512 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/1.402, allocations: 418.2 kB / 1.477 GB, free: 1.098 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/1.403, allocations: 0.9075 MB / 1.478 GB, free: 188 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.404, allocations: 305.1 kB / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004696/1.408, allocations: 2.903 MB / 1.481 GB, free: 12.97 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00549/1.414, allocations: 3.785 MB / 1.485 GB, free: 8.852 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/1.423, allocations: 6.17 MB / 1.491 GB, free: 2.414 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.423, allocations: 4 kB / 1.491 GB, free: 2.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01454/1.438, allocations: 7.802 MB / 1.499 GB, free: 10.56 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/1.438, allocations: 16 kB / 1.499 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.438, allocations: 28.03 kB / 1.499 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/1.44, allocations: 0.9676 MB / 1.5 GB, free: 9.539 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/1.443, allocations: 0.6786 MB / 1.5 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002727/1.446, allocations: 2.959 MB / 1.503 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004753/1.451, allocations: 464.2 kB / 1.504 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000482/1.451, allocations: 223.9 kB / 1.504 GB, free: 5.121 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006117/1.457, allocations: 3.525 MB / 1.507 GB, free: 1.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004597/1.462, allocations: 3.309 MB / 1.511 GB, free: 13.94 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00802/1.47, allocations: 5.227 MB / 1.516 GB, free: 8.438 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.75e-05/1.47, allocations: 4 kB / 1.516 GB, free: 8.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01272/1.483, allocations: 6.926 MB / 1.522 GB, free: 1.469 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.483, allocations: 12 kB / 1.523 GB, free: 1.457 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/1.483, allocations: 20 kB / 1.523 GB, free: 1.438 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003154/1.486, allocations: 1.085 MB / 1.524 GB, free: 348 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/1.489, allocations: 0.6514 MB / 1.524 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/1.51, allocations: 16.53 MB / 1.54 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.515, allocations: 378.1 kB / 1.541 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005379/1.515, allocations: 187.9 kB / 1.541 GB, free: 13.92 MB / 1.232 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.0006708/1.516, allocations: 343.4 kB / 1.541 GB, free: 13.58 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/1.517, allocations: 0.4933 MB / 1.542 GB, free: 13.08 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008632/1.526, allocations: 3.526 MB / 1.545 GB, free: 9.531 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/1.526, allocations: 16 kB / 1.545 GB, free: 9.516 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.526, allocations: 7.875 kB / 1.545 GB, free: 9.508 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/1.526, allocations: 11.97 kB / 1.545 GB, free: 9.496 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.539, allocations: 6.518 MB / 1.552 GB, free: 2.891 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.539, allocations: 7.969 kB / 1.552 GB, free: 2.883 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.541, allocations: 307.6 kB / 1.552 GB, free: 2.582 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/1.542, allocations: 462.9 kB / 1.552 GB, free: 2.117 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.542, allocations: 55.94 kB / 1.552 GB, free: 2.062 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/1.544, allocations: 2.803 MB / 1.555 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.544, allocations: 0 / 1.555 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007879/1.552, allocations: 3.261 MB / 1.558 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.554, allocations: 0.8258 MB / 1.559 GB, free: 10.99 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008079/1.555, allocations: 24 kB / 1.559 GB, free: 10.97 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.558, allocations: 159.8 kB / 1.559 GB, free: 10.81 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.558, allocations: 101 kB / 1.559 GB, free: 10.71 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.558, allocations: 95.94 kB / 1.559 GB, free: 10.62 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.006385/1.565, allocations: 3.798 MB / 1.563 GB, free: 6.828 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.21e-07/1.565, allocations: 0 / 1.563 GB, free: 6.828 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006695/1.571, allocations: 2.398 MB / 1.565 GB, free: 4.426 MB / 1.248 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.002027/1.573, allocations: 0.9422 MB / 1.566 GB, free: 3.484 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01603/1.589, allocations: 8.399 MB / 1.575 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.59, allocations: 0.75 kB / 1.575 GB, free: 11.04 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0033/1.593, allocations: 1.218 MB / 1.576 GB, free: 9.82 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/1.604, allocations: 2.541 MB / 1.578 GB, free: 7.348 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.618, allocations: 8.638 MB / 1.587 GB, free: 14.67 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002727/1.621, allocations: 2.953 MB / 1.59 GB, free: 11.69 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005279/1.627, allocations: 1.394 MB / 1.591 GB, free: 10.29 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.628, allocations: 395.2 kB / 1.591 GB, free: 9.906 MB / 1.279 GB Notification: Performance of SimCode: time 8.51e-07/1.628, allocations: 0 / 1.591 GB, free: 9.906 MB / 1.279 GB Notification: Performance of Templates: time 0.1823/1.81, allocations: 112.9 MB / 1.702 GB, free: 10.21 MB / 1.389 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches