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.509/1.509, allocations: 249.5 MB / 257 MB, free: 6.926 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.001562/0.001562, allocations: 184.8 kB / 316.3 MB, free: 3.309 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.832/1.832, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008659/0.0008662, allocations: 74.59 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.06e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.862/2.109, allocations: 434.3 MB / 1.309 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/2.109, allocations: 88.75 kB / 1.309 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.614/7.723, allocations: 1.443 GB / 2.752 GB, free: 80.28 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/7.723, allocations: 1.375 kB / 2.752 GB, free: 80.28 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004669/7.724, allocations: 104 kB / 2.752 GB, free: 80.27 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.009995/7.734, allocations: 3.573 MB / 2.756 GB, free: 78.69 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/7.734, allocations: 10.69 kB / 2.756 GB, free: 78.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/7.741, allocations: 1.105 MB / 2.757 GB, free: 78.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0586/7.799, allocations: 26.77 MB / 2.783 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/7.799, allocations: 71.94 kB / 2.783 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/7.801, allocations: 144.3 kB / 2.783 GB, free: 76.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004121/7.805, allocations: 1.769 MB / 2.785 GB, free: 76.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/7.809, allocations: 2.16 MB / 2.787 GB, free: 76.45 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/7.809, allocations: 0 / 2.787 GB, free: 76.45 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/7.809, allocations: 6.312 kB / 2.787 GB, free: 76.45 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/7.809, allocations: 54.25 kB / 2.787 GB, free: 76.45 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.0196/7.828, allocations: 11.56 MB / 2.798 GB, free: 70.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/7.831, allocations: 1.711 MB / 2.8 GB, free: 70.56 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008665/7.832, allocations: 0.709 MB / 2.801 GB, free: 70.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006737/7.838, allocations: 3.662 MB / 2.804 GB, free: 68.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/7.838, allocations: 47.81 kB / 2.804 GB, free: 68.82 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001662/7.84, allocations: 164.2 kB / 2.805 GB, free: 68.76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=116): time 3.968e-06/7.84, allocations: 3.094 kB / 2.805 GB, free: 68.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=116): time 0.006794/7.847, allocations: 2.416 MB / 2.807 GB, free: 68.44 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/7.847, allocations: 70.12 kB / 2.807 GB, free: 68.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/7.851, allocations: 2.399 MB / 2.809 GB, free: 68.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/7.851, allocations: 28.8 kB / 2.809 GB, free: 68.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/7.852, allocations: 1.681 MB / 2.811 GB, free: 67.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/7.853, allocations: 387.5 kB / 2.811 GB, free: 67.35 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/7.853, allocations: 0 / 2.811 GB, free: 67.35 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001157/7.853, allocations: 375.3 kB / 2.812 GB, free: 67.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/7.854, allocations: 0.6843 MB / 2.812 GB, free: 67.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/7.855, allocations: 1.413 MB / 2.814 GB, free: 66.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/7.858, allocations: 1.071 MB / 2.815 GB, free: 66.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/7.858, allocations: 3.938 kB / 2.815 GB, free: 66.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007233/7.866, allocations: 2.942 MB / 2.818 GB, free: 65.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001943/7.867, allocations: 7.594 MB / 2.825 GB, free: 57.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/7.868, allocations: 17.97 kB / 2.825 GB, free: 57.89 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/7.869, allocations: 0.7044 MB / 2.826 GB, free: 57.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/7.871, allocations: 377.8 kB / 2.826 GB, free: 57.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/7.875, allocations: 5.427 MB / 2.832 GB, free: 53.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/7.879, allocations: 169.6 kB / 2.832 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/7.879, allocations: 156.5 kB / 2.832 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/7.879, allocations: 3.781 kB / 2.832 GB, free: 53.66 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006174/7.885, allocations: 2.348 MB / 2.834 GB, free: 53.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/7.885, allocations: 20.25 kB / 2.834 GB, free: 53.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/7.887, allocations: 0.8089 MB / 2.835 GB, free: 53.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/7.889, allocations: 353.6 kB / 2.835 GB, free: 53.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/7.902, allocations: 12.11 MB / 2.847 GB, free: 45.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/7.906, allocations: 165.1 kB / 2.847 GB, free: 45.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/7.906, allocations: 134.3 kB / 2.847 GB, free: 45.62 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0009572/7.907, allocations: 182.5 kB / 2.848 GB, free: 45.51 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/7.908, allocations: 327.9 kB / 2.848 GB, free: 45.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006789/7.914, allocations: 2.523 MB / 2.85 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/7.914, allocations: 20.59 kB / 2.85 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/7.914, allocations: 0 / 2.85 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/7.914, allocations: 10.89 kB / 2.85 GB, free: 45.12 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.01087/7.925, allocations: 4.393 MB / 2.855 GB, free: 44.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/7.925, allocations: 0 / 2.855 GB, free: 44.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009651/7.926, allocations: 205.3 kB / 2.855 GB, free: 44.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/7.927, allocations: 499.2 kB / 2.855 GB, free: 44.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.72e-05/7.928, allocations: 30.97 kB / 2.855 GB, free: 44.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/7.931, allocations: 4.94 MB / 2.86 GB, free: 40.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/7.931, allocations: 3.953 kB / 2.86 GB, free: 40.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00657/7.937, allocations: 2.415 MB / 2.863 GB, free: 39.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/7.939, allocations: 0.5553 MB / 2.863 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/7.94, allocations: 0 / 2.863 GB, free: 39.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/7.941, allocations: 191 kB / 2.863 GB, free: 39.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/7.941, allocations: 89.2 kB / 2.863 GB, free: 39.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/7.942, allocations: 68.42 kB / 2.863 GB, free: 39.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002758/7.944, allocations: 1.795 MB / 2.865 GB, free: 39.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.11e-07/7.944, allocations: 0 / 2.865 GB, free: 39.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006913/7.951, allocations: 1.812 MB / 2.867 GB, free: 39.11 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.003584/7.955, allocations: 2.222 MB / 2.869 GB, free: 38.27 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005876/7.961, allocations: 3.493 MB / 2.873 GB, free: 37.66 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/7.961, allocations: 0 / 2.873 GB, free: 37.66 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/7.962, allocations: 0.7743 MB / 2.873 GB, free: 37.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007488/7.97, allocations: 1.411 MB / 2.875 GB, free: 37.53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/7.978, allocations: 4.207 MB / 2.879 GB, free: 36.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/7.98, allocations: 2.228 MB / 2.881 GB, free: 35.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00557/7.986, allocations: 1.131 MB / 2.882 GB, free: 35.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005175/7.986, allocations: 201.5 kB / 2.882 GB, free: 35.34 MB / 0.9167 GB Notification: Performance of SimCode: time 1.713e-06/7.986, allocations: 4 kB / 2.882 GB, free: 35.34 MB / 0.9167 GB Notification: Performance of Templates: time 0.129/8.115, allocations: 79.42 MB / 2.96 GB, free: 3.172 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