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.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001252/0.001252, allocations: 181.1 kB / 498.1 MB, free: 5.68 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.64/1.64, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001077/0.001077, allocations: 96.27 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 9.484 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.484, allocations: 441.4 MB / 1.654 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.484, allocations: 99.3 kB / 1.654 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.024/6.508, allocations: 1.467 GB / 3.121 GB, free: 64.78 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.116e-06/6.508, allocations: 0 / 3.121 GB, free: 64.78 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008139/6.509, allocations: 111.9 kB / 3.121 GB, free: 64.67 MB / 1.167 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.022/6.531, allocations: 5.677 MB / 3.127 GB, free: 58.91 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/6.531, allocations: 8.031 kB / 3.127 GB, free: 58.91 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/6.541, allocations: 1.484 MB / 3.128 GB, free: 57.42 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06239/6.604, allocations: 29.17 MB / 3.156 GB, free: 27.99 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003528/6.604, allocations: 180.2 kB / 3.157 GB, free: 27.81 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/6.605, allocations: 248 kB / 3.157 GB, free: 27.57 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/6.612, allocations: 2.784 MB / 3.16 GB, free: 24.64 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/6.612, allocations: 11.55 kB / 3.16 GB, free: 24.63 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/6.612, allocations: 91.94 kB / 3.16 GB, free: 24.54 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/6.612, allocations: 52 kB / 3.16 GB, free: 24.49 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/6.617, allocations: 2.151 MB / 3.162 GB, free: 22.34 MB / 1.167 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.02012/6.638, allocations: 12.52 MB / 3.174 GB, free: 8.996 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/6.642, allocations: 1.797 MB / 3.176 GB, free: 7.195 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/6.65, allocations: 4.218 MB / 3.18 GB, free: 2.652 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/6.65, allocations: 43.56 kB / 3.18 GB, free: 2.602 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002117/6.652, allocations: 222.2 kB / 3.18 GB, free: 2.383 MB / 1.167 GB Notification: Performance of pre-optimization done (n=119): time 5.651e-06/6.652, allocations: 4 kB / 3.18 GB, free: 2.379 MB / 1.167 GB Notification: Performance of matching and sorting (n=119): time 0.01379/6.666, allocations: 4.254 MB / 3.184 GB, free: 13.94 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/6.666, allocations: 68.41 kB / 3.184 GB, free: 13.86 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00648/6.672, allocations: 2.985 MB / 3.187 GB, free: 10.87 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0007877/6.673, allocations: 61.7 kB / 3.187 GB, free: 10.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/6.675, allocations: 1.785 MB / 3.189 GB, free: 9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008763/6.676, allocations: 410 kB / 3.19 GB, free: 8.594 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/6.676, allocations: 39.94 kB / 3.19 GB, free: 8.555 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001846/6.677, allocations: 381.9 kB / 3.19 GB, free: 8.176 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/6.679, allocations: 0.847 MB / 3.191 GB, free: 7.328 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/6.682, allocations: 1.659 MB / 3.192 GB, free: 5.305 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/6.684, allocations: 1.01 MB / 3.193 GB, free: 4.297 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/6.684, allocations: 8 kB / 3.193 GB, free: 4.289 MB / 1.182 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008037/6.692, allocations: 3.073 MB / 3.196 GB, free: 1.188 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.003173/6.695, allocations: 8.158 MB / 3.204 GB, free: 8.582 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/6.696, allocations: 20 kB / 3.204 GB, free: 8.562 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/6.698, allocations: 0.6768 MB / 3.205 GB, free: 7.863 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/6.7, allocations: 431.3 kB / 3.205 GB, free: 7.441 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/6.705, allocations: 5.156 MB / 3.21 GB, free: 2.082 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/6.709, allocations: 259.7 kB / 3.211 GB, free: 1.828 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007576/6.71, allocations: 187.9 kB / 3.211 GB, free: 1.645 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/6.71, allocations: 0 / 3.211 GB, free: 1.645 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9533/7.664, allocations: 3.099 MB / 3.214 GB, free: 144.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/7.664, allocations: 21.88 kB / 3.214 GB, free: 144.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003765/7.668, allocations: 1.087 MB / 3.215 GB, free: 144.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002112/7.67, allocations: 403.6 kB / 3.215 GB, free: 144.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/7.691, allocations: 14.43 MB / 3.229 GB, free: 136.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/7.695, allocations: 249.4 kB / 3.23 GB, free: 136.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/7.696, allocations: 151.9 kB / 3.23 GB, free: 136.7 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 () * Number of clocked 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.003156/7.699, allocations: 0.8802 MB / 3.231 GB, free: 136.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/7.701, allocations: 362.9 kB / 3.231 GB, free: 136.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/7.712, allocations: 3.257 MB / 3.234 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/7.712, allocations: 16.06 kB / 3.234 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/7.712, allocations: 4.766 kB / 3.234 GB, free: 136.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/7.712, allocations: 9.016 kB / 3.234 GB, free: 136.4 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.01624/7.728, allocations: 5.394 MB / 3.24 GB, free: 135.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/7.728, allocations: 3.156 kB / 3.24 GB, free: 135.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/7.73, allocations: 250.4 kB / 3.24 GB, free: 135.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/7.732, allocations: 0.67 MB / 3.24 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/7.732, allocations: 47.59 kB / 3.24 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/7.736, allocations: 5.028 MB / 3.245 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/7.736, allocations: 3.531 kB / 3.245 GB, free: 131.7 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008744/7.744, allocations: 2.961 MB / 3.248 GB, free: 131 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/7.747, allocations: 0.6296 MB / 3.249 GB, free: 130.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005369/7.748, allocations: 27.42 kB / 3.249 GB, free: 130.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/7.75, allocations: 246.4 kB / 3.249 GB, free: 130.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/7.75, allocations: 90.83 kB / 3.249 GB, free: 130.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002237/7.751, allocations: 84.61 kB / 3.249 GB, free: 130.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005701/7.756, allocations: 2.291 MB / 3.252 GB, free: 130.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.9e-07/7.756, allocations: 2.188 kB / 3.252 GB, free: 130.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01006/7.766, allocations: 2.039 MB / 3.254 GB, free: 130.4 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 () * Number of clocked 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.004146/7.771, allocations: 2.375 MB / 3.256 GB, free: 129.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009728/7.78, allocations: 4.223 MB / 3.26 GB, free: 129.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/7.78, allocations: 0 / 3.26 GB, free: 129.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002755/7.783, allocations: 1.041 MB / 3.261 GB, free: 129.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009821/7.793, allocations: 1.7 MB / 3.263 GB, free: 129.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/7.808, allocations: 7.151 MB / 3.27 GB, free: 126.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/7.81, allocations: 2.329 MB / 3.272 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004887/7.815, allocations: 0.8512 MB / 3.273 GB, free: 125.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/7.816, allocations: 273 kB / 3.273 GB, free: 125.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.153e-06/7.816, allocations: 0 / 3.273 GB, free: 125.4 MB / 1.198 GB Notification: Performance of Templates: time 0.1527/7.969, allocations: 93.59 MB / 3.364 GB, free: 120.8 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