Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 180.7 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 98.28 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 9.625 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2078, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9423/1.15, allocations: 435.4 MB / 1.325 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.151, allocations: 95.08 kB / 1.325 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.967/6.117, allocations: 1.407 GB / 2.732 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.154e-06/6.117, allocations: 0 / 2.732 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007456/6.118, allocations: 103.9 kB / 2.732 GB, free: 15.86 MB / 0.9011 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.02071/6.139, allocations: 5.662 MB / 2.738 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/6.139, allocations: 8.031 kB / 2.738 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007846/6.147, allocations: 1.126 MB / 2.739 GB, free: 8.977 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06626/6.213, allocations: 27.88 MB / 2.766 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/6.213, allocations: 188.2 kB / 2.766 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/6.214, allocations: 241.2 kB / 2.766 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/6.22, allocations: 2.687 MB / 2.769 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/6.22, allocations: 3.938 kB / 2.769 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/6.221, allocations: 91.44 kB / 2.769 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/6.221, allocations: 52 kB / 2.769 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/6.226, allocations: 1.983 MB / 2.771 GB, free: 7.445 MB / 0.9323 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.7978/7.024, allocations: 12.27 MB / 2.783 GB, free: 96.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/7.028, allocations: 1.626 MB / 2.785 GB, free: 96.89 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/7.038, allocations: 4.109 MB / 2.789 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/7.038, allocations: 47.81 kB / 2.789 GB, free: 95.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002156/7.041, allocations: 227.3 kB / 2.789 GB, free: 95.07 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=119): time 5.33e-06/7.041, allocations: 3.75 kB / 2.789 GB, free: 95.07 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119): time 0.01524/7.056, allocations: 3.992 MB / 2.793 GB, free: 94.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/7.056, allocations: 66.47 kB / 2.793 GB, free: 94.13 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009026/7.065, allocations: 2.957 MB / 2.796 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0009165/7.066, allocations: 65.73 kB / 2.796 GB, free: 93.83 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/7.068, allocations: 1.758 MB / 2.798 GB, free: 93.52 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008302/7.069, allocations: 411.8 kB / 2.798 GB, free: 93.31 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/7.069, allocations: 34.25 kB / 2.798 GB, free: 93.31 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001551/7.069, allocations: 383.7 kB / 2.798 GB, free: 93.01 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/7.071, allocations: 0.7595 MB / 2.799 GB, free: 93 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00251/7.074, allocations: 1.572 MB / 2.801 GB, free: 92.05 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/7.076, allocations: 0.9374 MB / 2.802 GB, free: 92.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/7.076, allocations: 6 kB / 2.802 GB, free: 92.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007763/7.084, allocations: 2.91 MB / 2.804 GB, free: 91.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002051/7.086, allocations: 8.142 MB / 2.812 GB, free: 83.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/7.086, allocations: 16.03 kB / 2.812 GB, free: 83.37 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/7.088, allocations: 0.6678 MB / 2.813 GB, free: 83.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/7.09, allocations: 394.9 kB / 2.813 GB, free: 83.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/7.094, allocations: 5.166 MB / 2.818 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/7.098, allocations: 224 kB / 2.819 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/7.098, allocations: 179.1 kB / 2.819 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/7.098, allocations: 6.812 kB / 2.819 GB, free: 79.14 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006916/7.105, allocations: 2.937 MB / 2.822 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.113e-05/7.105, allocations: 18.5 kB / 2.822 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/7.109, allocations: 1.088 MB / 2.823 GB, free: 78.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/7.11, allocations: 363 kB / 2.823 GB, free: 78.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/7.128, allocations: 14.44 MB / 2.837 GB, free: 70.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004365/7.132, allocations: 216.8 kB / 2.837 GB, free: 70.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006557/7.133, allocations: 146.2 kB / 2.838 GB, free: 70.8 MB / 0.9323 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.003702/7.137, allocations: 0.8825 MB / 2.838 GB, free: 70.61 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/7.138, allocations: 359.6 kB / 2.839 GB, free: 70.41 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/7.149, allocations: 3.073 MB / 2.842 GB, free: 70.19 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.655e-05/7.149, allocations: 18.25 kB / 2.842 GB, free: 70.19 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/7.149, allocations: 0 / 2.842 GB, free: 70.19 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/7.149, allocations: 10.59 kB / 2.842 GB, free: 70.19 MB / 0.9323 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.01695/7.166, allocations: 5.149 MB / 2.847 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/7.166, allocations: 4.406 kB / 2.847 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/7.167, allocations: 210.5 kB / 2.847 GB, free: 69.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002004/7.17, allocations: 0.667 MB / 2.848 GB, free: 69.57 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/7.17, allocations: 50.97 kB / 2.848 GB, free: 69.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/7.173, allocations: 5.026 MB / 2.853 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.173, allocations: 0 / 2.853 GB, free: 65.42 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007663/7.181, allocations: 2.796 MB / 2.855 GB, free: 64.75 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/7.183, allocations: 0.6126 MB / 2.856 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/7.185, allocations: 30.23 kB / 2.856 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/7.189, allocations: 205.9 kB / 2.856 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/7.189, allocations: 92 kB / 2.856 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/7.19, allocations: 80.33 kB / 2.856 GB, free: 64.45 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006821/7.196, allocations: 2.264 MB / 2.859 GB, free: 64.27 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.41e-07/7.196, allocations: 0 / 2.859 GB, free: 64.27 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01256/7.209, allocations: 1.985 MB / 2.861 GB, free: 64.19 MB / 0.9323 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.005315/7.214, allocations: 2.35 MB / 2.863 GB, free: 63.66 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01014/7.225, allocations: 3.97 MB / 2.867 GB, free: 63.15 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/7.225, allocations: 0 / 2.867 GB, free: 63.15 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/7.227, allocations: 0.9507 MB / 2.868 GB, free: 63.14 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008939/7.236, allocations: 1.699 MB / 2.869 GB, free: 63.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/7.25, allocations: 7.022 MB / 2.876 GB, free: 60 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/7.252, allocations: 2.311 MB / 2.878 GB, free: 59.24 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005519/7.258, allocations: 0.8234 MB / 2.879 GB, free: 59.21 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/7.259, allocations: 267.1 kB / 2.879 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.364e-06/7.259, allocations: 0 / 2.879 GB, free: 59.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.1456/7.405, allocations: 92.65 MB / 2.97 GB, free: 53.53 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches