Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001304/0.001304, allocations: 182.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008187/0.0008186, allocations: 93.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8.469 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2271, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.978/1.205, allocations: 434.1 MB / 1.324 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.206, allocations: 102.6 kB / 1.324 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.464/6.669, allocations: 1.456 GB / 2.78 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.076e-06/6.669, allocations: 0 / 2.78 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009188/6.67, allocations: 95.97 kB / 2.78 GB, free: 1.121 MB / 0.9323 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.6807/7.351, allocations: 5.156 MB / 2.785 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/7.351, allocations: 9.766 kB / 2.785 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007815/7.359, allocations: 1.107 MB / 2.787 GB, free: 105 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06682/7.426, allocations: 27 MB / 2.813 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/7.426, allocations: 179.1 kB / 2.813 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/7.427, allocations: 236.8 kB / 2.813 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008564/7.436, allocations: 2.582 MB / 2.816 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/7.436, allocations: 0 / 2.816 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/7.436, allocations: 84.97 kB / 2.816 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/7.436, allocations: 56.59 kB / 2.816 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005065/7.442, allocations: 1.932 MB / 2.818 GB, free: 103.3 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.02133/7.463, allocations: 11.98 MB / 2.83 GB, free: 97.52 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/7.467, allocations: 1.542 MB / 2.831 GB, free: 97.48 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009108/7.477, allocations: 3.738 MB / 2.835 GB, free: 95.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/7.477, allocations: 42.41 kB / 2.835 GB, free: 95.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002075/7.479, allocations: 229.5 kB / 2.835 GB, free: 95.69 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=116): time 5.33e-06/7.479, allocations: 1.531 kB / 2.835 GB, free: 95.69 MB / 0.9323 GB Notification: Performance of matching and sorting (n=116): time 0.01318/7.492, allocations: 3.851 MB / 2.839 GB, free: 94.61 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/7.492, allocations: 68.94 kB / 2.839 GB, free: 94.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/7.498, allocations: 2.771 MB / 2.841 GB, free: 94.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005897/7.498, allocations: 59.55 kB / 2.842 GB, free: 94.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/7.5, allocations: 1.681 MB / 2.843 GB, free: 93.76 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00043/7.5, allocations: 398.7 kB / 2.844 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/7.5, allocations: 33.75 kB / 2.844 GB, free: 93.51 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001009/7.5, allocations: 380.5 kB / 2.844 GB, free: 93.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/7.502, allocations: 0.6881 MB / 2.845 GB, free: 93.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/7.504, allocations: 1.443 MB / 2.846 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/7.506, allocations: 0.857 MB / 2.847 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/7.506, allocations: 8.359 kB / 2.847 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007612/7.514, allocations: 2.746 MB / 2.85 GB, free: 91.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002076/7.516, allocations: 7.668 MB / 2.857 GB, free: 84.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-05/7.516, allocations: 16.88 kB / 2.857 GB, free: 84.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/7.518, allocations: 0.6309 MB / 2.858 GB, free: 83.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/7.52, allocations: 376.1 kB / 2.858 GB, free: 83.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/7.523, allocations: 5.031 MB / 2.863 GB, free: 79.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/7.527, allocations: 213.1 kB / 2.863 GB, free: 79.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004138/7.528, allocations: 156.2 kB / 2.863 GB, free: 79.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/7.528, allocations: 5.844 kB / 2.863 GB, free: 79.82 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005682/7.533, allocations: 2.559 MB / 2.866 GB, free: 79.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/7.533, allocations: 16.47 kB / 2.866 GB, free: 79.72 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/7.536, allocations: 0.8918 MB / 2.867 GB, free: 79.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/7.537, allocations: 350.4 kB / 2.867 GB, free: 79.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/7.55, allocations: 12.72 MB / 2.879 GB, free: 71.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/7.554, allocations: 207.3 kB / 2.88 GB, free: 71.56 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/7.555, allocations: 131.2 kB / 2.88 GB, free: 71.56 MB / 0.9323 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 () * Number of clocked 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.002542/7.557, allocations: 0.8135 MB / 2.881 GB, free: 71.36 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009542/7.558, allocations: 348.2 kB / 2.881 GB, free: 71.18 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/7.565, allocations: 2.783 MB / 2.884 GB, free: 70.95 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/7.565, allocations: 21.94 kB / 2.884 GB, free: 70.95 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/7.565, allocations: 2.594 kB / 2.884 GB, free: 70.95 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/7.565, allocations: 5.766 kB / 2.884 GB, free: 70.95 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.01146/7.576, allocations: 4.886 MB / 2.888 GB, free: 70.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/7.577, allocations: 1.188 kB / 2.888 GB, free: 70.44 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/7.578, allocations: 212.7 kB / 2.889 GB, free: 70.44 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/7.579, allocations: 0.632 MB / 2.889 GB, free: 70.36 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/7.579, allocations: 49.84 kB / 2.889 GB, free: 70.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/7.582, allocations: 4.932 MB / 2.894 GB, free: 66.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/7.582, allocations: 1.219 kB / 2.894 GB, free: 66.21 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006707/7.589, allocations: 2.595 MB / 2.897 GB, free: 65.66 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/7.591, allocations: 0.5812 MB / 2.897 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007927/7.592, allocations: 25.12 kB / 2.897 GB, free: 65.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/7.595, allocations: 205.7 kB / 2.897 GB, free: 65.36 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/7.595, allocations: 96.58 kB / 2.898 GB, free: 65.36 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/7.595, allocations: 71.44 kB / 2.898 GB, free: 65.36 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00397/7.599, allocations: 2.116 MB / 2.9 GB, free: 65.18 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.4e-07/7.599, allocations: 4.688 kB / 2.9 GB, free: 65.18 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009518/7.608, allocations: 1.893 MB / 2.902 GB, free: 65 MB / 0.9323 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 () * Number of clocked 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.004547/7.613, allocations: 2.3 MB / 2.904 GB, free: 64.44 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007609/7.621, allocations: 3.664 MB / 2.907 GB, free: 63.93 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/7.621, allocations: 0 / 2.907 GB, free: 63.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/7.623, allocations: 0.9156 MB / 2.908 GB, free: 63.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007856/7.631, allocations: 1.519 MB / 2.91 GB, free: 63.89 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/7.642, allocations: 6.677 MB / 2.916 GB, free: 60.91 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/7.644, allocations: 2.224 MB / 2.918 GB, free: 60.17 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004112/7.648, allocations: 0.7588 MB / 2.919 GB, free: 60.14 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006493/7.649, allocations: 258.8 kB / 2.919 GB, free: 60.13 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/7.649, allocations: 0 / 2.919 GB, free: 60.13 MB / 0.9323 GB Notification: Performance of Templates: time 0.1357/7.784, allocations: 86.06 MB / 3.003 GB, free: 54.29 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches