Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 387.1 MB / 399.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 176.5 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 87.94 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.884e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2856, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.489, allocations: 441.3 MB / 1.643 GB, free: 5.441 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.49, allocations: 85.08 kB / 1.643 GB, free: 5.402 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.274/7.764, allocations: 1.463 GB / 3.106 GB, free: 146.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.853e-06/7.764, allocations: 0 / 3.106 GB, free: 146.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0009374/7.765, allocations: 107.2 kB / 3.106 GB, free: 146.7 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01694/7.782, allocations: 3.706 MB / 3.11 GB, free: 145.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/7.782, allocations: 10.06 kB / 3.11 GB, free: 145.4 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/7.794, allocations: 1.482 MB / 3.111 GB, free: 145.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07331/7.867, allocations: 29.01 MB / 3.14 GB, free: 143.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/7.868, allocations: 188.2 kB / 3.14 GB, free: 143.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/7.869, allocations: 243.6 kB / 3.14 GB, free: 143.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/7.875, allocations: 2.595 MB / 3.143 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/7.875, allocations: 0.875 kB / 3.143 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/7.876, allocations: 90.06 kB / 3.143 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/7.876, allocations: 54.31 kB / 3.143 GB, free: 143.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004252/7.88, allocations: 1.807 MB / 3.144 GB, free: 143.4 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.02398/7.904, allocations: 12.51 MB / 3.157 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/7.906, allocations: 1.48 MB / 3.158 GB, free: 137.4 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009625/7.907, allocations: 0.6653 MB / 3.159 GB, free: 137.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008546/7.916, allocations: 4.258 MB / 3.163 GB, free: 135.5 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/7.916, allocations: 50.08 kB / 3.163 GB, free: 135.4 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002421/7.918, allocations: 229 kB / 3.163 GB, free: 135.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=119): time 6.632e-06/7.918, allocations: 0 / 3.163 GB, free: 135.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=119): time 0.00484/7.923, allocations: 2.01 MB / 3.165 GB, free: 135 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/7.923, allocations: 65.34 kB / 3.165 GB, free: 134.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004904/7.928, allocations: 2.951 MB / 3.168 GB, free: 134.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006224/7.929, allocations: 61.95 kB / 3.168 GB, free: 134.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/7.93, allocations: 1.79 MB / 3.17 GB, free: 134.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005451/7.931, allocations: 406.5 kB / 3.17 GB, free: 133.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/7.931, allocations: 37.72 kB / 3.17 GB, free: 133.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001128/7.931, allocations: 380.1 kB / 3.171 GB, free: 133.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/7.932, allocations: 0.6775 MB / 3.171 GB, free: 133.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/7.933, allocations: 1.48 MB / 3.173 GB, free: 132.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/7.935, allocations: 0.8526 MB / 3.174 GB, free: 132.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/7.935, allocations: 6.031 kB / 3.174 GB, free: 132.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00505/7.94, allocations: 2.731 MB / 3.176 GB, free: 132.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001677/7.941, allocations: 8.162 MB / 3.184 GB, free: 123.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/7.941, allocations: 15.62 kB / 3.184 GB, free: 123.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001755/7.943, allocations: 0.6497 MB / 3.185 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/7.945, allocations: 427.2 kB / 3.185 GB, free: 123.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/7.948, allocations: 5.108 MB / 3.19 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/7.953, allocations: 258.5 kB / 3.191 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/7.954, allocations: 183.2 kB / 3.191 GB, free: 119.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/7.954, allocations: 3.844 kB / 3.191 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006893/7.961, allocations: 2.774 MB / 3.193 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/7.961, allocations: 22.75 kB / 3.193 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002955/7.964, allocations: 1.05 MB / 3.194 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/7.966, allocations: 402.7 kB / 3.195 GB, free: 119.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/7.982, allocations: 14.02 MB / 3.209 GB, free: 111.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/7.987, allocations: 250.3 kB / 3.209 GB, free: 111.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007676/7.988, allocations: 158.2 kB / 3.209 GB, free: 111.3 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001245/7.989, allocations: 223.8 kB / 3.209 GB, free: 111.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/7.991, allocations: 365.9 kB / 3.21 GB, free: 111 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008863/8, allocations: 2.901 MB / 3.212 GB, free: 110.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/8, allocations: 15.83 kB / 3.212 GB, free: 110.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/8, allocations: 3.969 kB / 3.212 GB, free: 110.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/8, allocations: 8.953 kB / 3.212 GB, free: 110.8 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01418/8.014, allocations: 5.062 MB / 3.217 GB, free: 110.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/8.014, allocations: 0 / 3.217 GB, free: 110.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/8.015, allocations: 250.3 kB / 3.218 GB, free: 110.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/8.017, allocations: 0.6304 MB / 3.218 GB, free: 110.1 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/8.017, allocations: 51.23 kB / 3.218 GB, free: 110.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/8.021, allocations: 4.98 MB / 3.223 GB, free: 106 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/8.021, allocations: 1.5 kB / 3.223 GB, free: 106 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/8.027, allocations: 2.603 MB / 3.226 GB, free: 105.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/8.029, allocations: 0.626 MB / 3.226 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/8.031, allocations: 31.66 kB / 3.226 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003487/8.034, allocations: 246.2 kB / 3.227 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/8.034, allocations: 94.09 kB / 3.227 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/8.035, allocations: 83.48 kB / 3.227 GB, free: 105 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005213/8.04, allocations: 2.251 MB / 3.229 GB, free: 104.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.31e-07/8.04, allocations: 0 / 3.229 GB, free: 104.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01119/8.051, allocations: 2.038 MB / 3.231 GB, free: 104.5 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005176/8.056, allocations: 2.378 MB / 3.233 GB, free: 103.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009237/8.066, allocations: 3.867 MB / 3.237 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/8.066, allocations: 0 / 3.237 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/8.068, allocations: 0.8745 MB / 3.238 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01209/8.08, allocations: 1.691 MB / 3.239 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/8.096, allocations: 4.603 MB / 3.244 GB, free: 102 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/8.099, allocations: 2.338 MB / 3.246 GB, free: 101.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.008216/8.108, allocations: 1.308 MB / 3.248 GB, free: 101.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/8.109, allocations: 215.9 kB / 3.248 GB, free: 101.2 MB / 1.198 GB Notification: Performance of SimCode: time 1.653e-06/8.109, allocations: 0 / 3.248 GB, free: 101.2 MB / 1.198 GB Notification: Performance of Templates: time 0.1743/8.283, allocations: 104.3 MB / 3.35 GB, free: 95.48 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches