Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.1 MB / 399.7 MB, free: 9.406 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.001168/0.001168, allocations: 172.9 kB / 492.3 MB, free: 0.5977 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.652/1.652, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.0008789/0.0008789, allocations: 91.89 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.041e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3041, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.35/1.654, allocations: 440 MB / 1.642 GB, free: 6.566 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.654, allocations: 86.33 kB / 1.642 GB, free: 6.527 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.631/8.285, allocations: 1.515 GB / 3.157 GB, free: 134.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.325e-06/8.285, allocations: 0 / 3.157 GB, free: 134.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0006683/8.286, allocations: 99.89 kB / 3.157 GB, free: 134.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01329/8.299, allocations: 3.59 MB / 3.161 GB, free: 133.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/8.3, allocations: 10.77 kB / 3.161 GB, free: 133.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009603/8.309, allocations: 1.463 MB / 3.162 GB, free: 133.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06224/8.371, allocations: 28.19 MB / 3.19 GB, free: 131.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/8.372, allocations: 182.8 kB / 3.19 GB, free: 131.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007729/8.373, allocations: 241.5 kB / 3.19 GB, free: 131.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/8.377, allocations: 2.478 MB / 3.193 GB, free: 131.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/8.377, allocations: 5.594 kB / 3.193 GB, free: 131.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/8.378, allocations: 86.83 kB / 3.193 GB, free: 131.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/8.378, allocations: 50.38 kB / 3.193 GB, free: 131.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/8.381, allocations: 1.766 MB / 3.194 GB, free: 131.1 MB / 1.182 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.02131/8.402, allocations: 12.19 MB / 3.206 GB, free: 125.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/8.405, allocations: 1.392 MB / 3.208 GB, free: 125.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/8.406, allocations: 0.6293 MB / 3.208 GB, free: 125.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008842/8.414, allocations: 3.873 MB / 3.212 GB, free: 123.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/8.414, allocations: 48.53 kB / 3.212 GB, free: 123.3 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002264/8.417, allocations: 226.4 kB / 3.212 GB, free: 123.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=116): time 5.259e-06/8.417, allocations: 3.062 kB / 3.212 GB, free: 123.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=116): time 0.004855/8.422, allocations: 1.933 MB / 3.214 GB, free: 122.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/8.422, allocations: 68.56 kB / 3.214 GB, free: 122.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004712/8.426, allocations: 2.766 MB / 3.217 GB, free: 122.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/8.427, allocations: 63.69 kB / 3.217 GB, free: 122.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/8.428, allocations: 1.683 MB / 3.219 GB, free: 122.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/8.429, allocations: 401.2 kB / 3.219 GB, free: 121.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/8.429, allocations: 35.53 kB / 3.219 GB, free: 121.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001422/8.429, allocations: 373.4 kB / 3.219 GB, free: 121.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/8.43, allocations: 0.6113 MB / 3.22 GB, free: 121.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/8.432, allocations: 1.362 MB / 3.221 GB, free: 120.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/8.433, allocations: 0.7731 MB / 3.222 GB, free: 120.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/8.433, allocations: 3.875 kB / 3.222 GB, free: 120.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005536/8.438, allocations: 2.547 MB / 3.225 GB, free: 120.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.00198/8.44, allocations: 7.683 MB / 3.232 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/8.44, allocations: 18.19 kB / 3.232 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/8.442, allocations: 0.6 MB / 3.233 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/8.444, allocations: 415.9 kB / 3.233 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/8.447, allocations: 4.984 MB / 3.238 GB, free: 108.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/8.451, allocations: 247 kB / 3.238 GB, free: 108.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/8.451, allocations: 153.6 kB / 3.238 GB, free: 108.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/8.451, allocations: 6.25 kB / 3.238 GB, free: 108.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004897/8.456, allocations: 2.406 MB / 3.241 GB, free: 108 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/8.456, allocations: 17.38 kB / 3.241 GB, free: 108 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/8.459, allocations: 0.8624 MB / 3.242 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/8.46, allocations: 387.1 kB / 3.242 GB, free: 107.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/8.474, allocations: 12.41 MB / 3.254 GB, free: 99.85 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/8.478, allocations: 235 kB / 3.254 GB, free: 99.84 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/8.478, allocations: 137.3 kB / 3.254 GB, free: 99.84 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * 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.0008739/8.479, allocations: 218.8 kB / 3.255 GB, free: 99.72 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/8.48, allocations: 353.5 kB / 3.255 GB, free: 99.53 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/8.488, allocations: 2.605 MB / 3.258 GB, free: 99.31 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-05/8.488, allocations: 18.5 kB / 3.258 GB, free: 99.31 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/8.488, allocations: 0 / 3.258 GB, free: 99.31 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/8.488, allocations: 7.266 kB / 3.258 GB, free: 99.31 MB / 1.182 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.01339/8.501, allocations: 4.8 MB / 3.262 GB, free: 98.79 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/8.501, allocations: 0 / 3.262 GB, free: 98.79 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/8.502, allocations: 240 kB / 3.263 GB, free: 98.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/8.504, allocations: 0.5898 MB / 3.263 GB, free: 98.71 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/8.504, allocations: 48.23 kB / 3.263 GB, free: 98.71 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/8.507, allocations: 4.889 MB / 3.268 GB, free: 94.56 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/8.507, allocations: 1.969 kB / 3.268 GB, free: 94.56 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/8.512, allocations: 2.415 MB / 3.27 GB, free: 94.01 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/8.515, allocations: 0.5992 MB / 3.271 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001301/8.516, allocations: 26.28 kB / 3.271 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/8.519, allocations: 233 kB / 3.271 GB, free: 93.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/8.52, allocations: 91.11 kB / 3.271 GB, free: 93.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/8.52, allocations: 77.88 kB / 3.271 GB, free: 93.7 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.005483/8.525, allocations: 2.104 MB / 3.273 GB, free: 93.5 MB / 1.182 GB Notification: Performance of sort global known variables: time 4.41e-07/8.525, allocations: 1.312 kB / 3.273 GB, free: 93.5 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01097/8.536, allocations: 1.95 MB / 3.275 GB, free: 93.24 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.005461/8.542, allocations: 2.334 MB / 3.277 GB, free: 92.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008141/8.55, allocations: 3.553 MB / 3.281 GB, free: 92.06 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/8.55, allocations: 0 / 3.281 GB, free: 92.06 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/8.552, allocations: 0.8324 MB / 3.282 GB, free: 92.04 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009101/8.561, allocations: 1.522 MB / 3.283 GB, free: 92.02 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/8.574, allocations: 4.355 MB / 3.288 GB, free: 90.85 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/8.577, allocations: 2.242 MB / 3.29 GB, free: 90.09 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006472/8.583, allocations: 1.181 MB / 3.291 GB, free: 90.06 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/8.584, allocations: 210 kB / 3.291 GB, free: 90.05 MB / 1.182 GB Notification: Performance of SimCode: time 1.173e-06/8.584, allocations: 0 / 3.291 GB, free: 90.05 MB / 1.182 GB Notification: Performance of Templates: time 0.1594/8.743, allocations: 97.26 MB / 3.386 GB, free: 83.89 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches