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.461/1.461, allocations: 249.3 MB / 261.9 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 174.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0009039/0.0009038, allocations: 82.5 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.859e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.728/2.006, allocations: 434.1 MB / 1.316 GB, free: 254 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/2.007, allocations: 96.19 kB / 1.316 GB, free: 254 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.627/7.633, allocations: 1.452 GB / 2.768 GB, free: 79.26 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.094e-06/7.634, allocations: 0 / 2.768 GB, free: 79.26 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008932/7.634, allocations: 103.1 kB / 2.768 GB, free: 79.24 MB / 0.9167 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.01296/7.647, allocations: 3.566 MB / 2.771 GB, free: 77.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/7.647, allocations: 10.69 kB / 2.771 GB, free: 77.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007199/7.655, allocations: 1.107 MB / 2.772 GB, free: 77.36 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0648/7.72, allocations: 26.84 MB / 2.798 GB, free: 75.72 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/7.72, allocations: 177.5 kB / 2.799 GB, free: 75.71 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/7.721, allocations: 242.5 kB / 2.799 GB, free: 75.71 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008551/7.73, allocations: 2.453 MB / 2.801 GB, free: 75.34 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/7.73, allocations: 3.969 kB / 2.801 GB, free: 75.34 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008015/7.731, allocations: 88.91 kB / 2.801 GB, free: 75.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-05/7.731, allocations: 50.44 kB / 2.801 GB, free: 75.34 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004326/7.735, allocations: 1.712 MB / 2.803 GB, free: 75.33 MB / 0.9167 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.02031/7.756, allocations: 11.97 MB / 2.815 GB, free: 69.39 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/7.758, allocations: 1.341 MB / 2.816 GB, free: 69.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/7.759, allocations: 0.6014 MB / 2.817 GB, free: 69.34 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00736/7.766, allocations: 3.782 MB / 2.82 GB, free: 67.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/7.766, allocations: 45.78 kB / 2.82 GB, free: 67.61 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002154/7.768, allocations: 231.5 kB / 2.821 GB, free: 67.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=116): time 7.524e-06/7.768, allocations: 0 / 2.821 GB, free: 67.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=116): time 0.005028/7.773, allocations: 1.889 MB / 2.822 GB, free: 67.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/7.773, allocations: 65.72 kB / 2.822 GB, free: 67.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/7.779, allocations: 2.732 MB / 2.825 GB, free: 66.83 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007386/7.779, allocations: 59.8 kB / 2.825 GB, free: 66.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/7.781, allocations: 1.674 MB / 2.827 GB, free: 66.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/7.781, allocations: 402.5 kB / 2.827 GB, free: 66.09 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/7.782, allocations: 32.22 kB / 2.827 GB, free: 66.09 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001408/7.782, allocations: 376.6 kB / 2.828 GB, free: 65.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/7.783, allocations: 0.5868 MB / 2.828 GB, free: 65.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/7.784, allocations: 1.34 MB / 2.83 GB, free: 64.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/7.785, allocations: 0.7567 MB / 2.83 GB, free: 64.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/7.785, allocations: 3.75 kB / 2.83 GB, free: 64.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00529/7.791, allocations: 2.516 MB / 2.833 GB, free: 64.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002004/7.793, allocations: 7.67 MB / 2.84 GB, free: 56.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/7.793, allocations: 18.22 kB / 2.84 GB, free: 56.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/7.794, allocations: 0.597 MB / 2.841 GB, free: 56.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/7.796, allocations: 381.4 kB / 2.841 GB, free: 56.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/7.799, allocations: 4.978 MB / 2.846 GB, free: 52.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003694/7.803, allocations: 209.7 kB / 2.846 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/7.803, allocations: 154.8 kB / 2.846 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/7.803, allocations: 4.344 kB / 2.846 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004622/7.808, allocations: 2.364 MB / 2.849 GB, free: 52.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/7.808, allocations: 22.7 kB / 2.849 GB, free: 52.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002274/7.81, allocations: 0.858 MB / 2.85 GB, free: 52.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/7.811, allocations: 356.4 kB / 2.85 GB, free: 51.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/7.824, allocations: 12.4 MB / 2.862 GB, free: 43.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/7.829, allocations: 200 kB / 2.862 GB, free: 43.01 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004533/7.829, allocations: 133.3 kB / 2.862 GB, free: 43 MB / 0.9167 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.0008331/7.83, allocations: 228.2 kB / 2.863 GB, free: 42.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008746/7.831, allocations: 339.4 kB / 2.863 GB, free: 42.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/7.837, allocations: 2.557 MB / 2.865 GB, free: 41.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/7.837, allocations: 22.34 kB / 2.865 GB, free: 41.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/7.837, allocations: 0 / 2.865 GB, free: 41.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/7.837, allocations: 11.45 kB / 2.865 GB, free: 41.64 MB / 0.9167 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.009143/7.846, allocations: 4.671 MB / 2.87 GB, free: 39.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/7.846, allocations: 0 / 2.87 GB, free: 39.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/7.847, allocations: 210.9 kB / 2.87 GB, free: 39.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/7.849, allocations: 0.5945 MB / 2.871 GB, free: 39.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/7.849, allocations: 47.17 kB / 2.871 GB, free: 39.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/7.851, allocations: 4.879 MB / 2.876 GB, free: 34.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/7.851, allocations: 0 / 2.876 GB, free: 34.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/7.857, allocations: 2.368 MB / 2.878 GB, free: 33.86 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002039/7.859, allocations: 0.5858 MB / 2.878 GB, free: 33.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/7.859, allocations: 23.69 kB / 2.878 GB, free: 33.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/7.861, allocations: 203 kB / 2.879 GB, free: 33.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/7.861, allocations: 92.81 kB / 2.879 GB, free: 33.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/7.861, allocations: 72.92 kB / 2.879 GB, free: 33.38 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003336/7.865, allocations: 2.087 MB / 2.881 GB, free: 32.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/7.865, allocations: 0 / 2.881 GB, free: 32.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008915/7.874, allocations: 1.896 MB / 2.883 GB, free: 32.1 MB / 0.9167 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.004083/7.878, allocations: 2.285 MB / 2.885 GB, free: 31.19 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006155/7.884, allocations: 3.48 MB / 2.888 GB, free: 29.69 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/7.884, allocations: 0.625 kB / 2.888 GB, free: 29.69 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/7.885, allocations: 0.8107 MB / 2.889 GB, free: 29.42 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007409/7.893, allocations: 1.535 MB / 2.891 GB, free: 29.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008139/7.901, allocations: 4.291 MB / 2.895 GB, free: 27.27 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/7.903, allocations: 2.235 MB / 2.897 GB, free: 26.36 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005465/7.908, allocations: 1.157 MB / 2.898 GB, free: 26.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/7.909, allocations: 209.1 kB / 2.898 GB, free: 26.13 MB / 0.9167 GB Notification: Performance of SimCode: time 1.593e-06/7.909, allocations: 0 / 2.898 GB, free: 26.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.8815/8.79, allocations: 96.23 MB / 2.992 GB, free: 109.1 MB / 0.948 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