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.009/2.009, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001004/0.001004, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.335/1.335, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007928, allocations: 87.98 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.432e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2615, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.305, allocations: 439.4 MB / 1.635 GB, free: 15.36 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.306, allocations: 88.7 kB / 1.635 GB, free: 15.31 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.389/6.694, allocations: 1.506 GB / 3.141 GB, free: 146.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.363e-06/6.694, allocations: 1.125 kB / 3.141 GB, free: 146.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005244/6.695, allocations: 101.1 kB / 3.141 GB, free: 146.6 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.01013/6.705, allocations: 3.586 MB / 3.145 GB, free: 145.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/6.705, allocations: 9.406 kB / 3.145 GB, free: 145.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009839/6.715, allocations: 1.467 MB / 3.146 GB, free: 145.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05756/6.772, allocations: 28.11 MB / 3.174 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/6.772, allocations: 69.06 kB / 3.174 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/6.773, allocations: 143.4 kB / 3.174 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002928/6.776, allocations: 1.825 MB / 3.176 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/6.779, allocations: 2.2 MB / 3.178 GB, free: 143.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/6.779, allocations: 7.422 kB / 3.178 GB, free: 143.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/6.779, allocations: 7.766 kB / 3.178 GB, free: 143.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/6.779, allocations: 48.81 kB / 3.178 GB, free: 143.2 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.01442/6.794, allocations: 11.78 MB / 3.189 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/6.796, allocations: 1.751 MB / 3.191 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/6.797, allocations: 0.7337 MB / 3.192 GB, free: 137.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006332/6.803, allocations: 3.765 MB / 3.196 GB, free: 135.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/6.803, allocations: 47.05 kB / 3.196 GB, free: 135.5 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001381/6.804, allocations: 165.8 kB / 3.196 GB, free: 135.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=116): time 3.095e-06/6.804, allocations: 0 / 3.196 GB, free: 135.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=116): time 0.006058/6.81, allocations: 2.456 MB / 3.198 GB, free: 135.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/6.81, allocations: 69.84 kB / 3.198 GB, free: 135.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/6.813, allocations: 2.432 MB / 3.201 GB, free: 134.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/6.813, allocations: 29.67 kB / 3.201 GB, free: 134.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009202/6.814, allocations: 1.729 MB / 3.202 GB, free: 134.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/6.815, allocations: 386.3 kB / 3.203 GB, free: 134 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/6.815, allocations: 0 / 3.203 GB, free: 134 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/6.815, allocations: 379.7 kB / 3.203 GB, free: 133.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008523/6.816, allocations: 0.7039 MB / 3.204 GB, free: 133.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/6.817, allocations: 1.441 MB / 3.205 GB, free: 132.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/6.82, allocations: 1.08 MB / 3.206 GB, free: 132.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/6.82, allocations: 5.531 kB / 3.206 GB, free: 132.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006585/6.826, allocations: 2.981 MB / 3.209 GB, free: 132.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/6.828, allocations: 7.619 MB / 3.217 GB, free: 124.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/6.828, allocations: 15.78 kB / 3.217 GB, free: 124.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/6.829, allocations: 0.7007 MB / 3.217 GB, free: 124.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/6.831, allocations: 416.1 kB / 3.218 GB, free: 124.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/6.834, allocations: 5.421 MB / 3.223 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003138/6.837, allocations: 207.6 kB / 3.223 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/6.837, allocations: 153 kB / 3.223 GB, free: 120.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/6.837, allocations: 7.625 kB / 3.223 GB, free: 120.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005409/6.843, allocations: 2.397 MB / 3.226 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/6.843, allocations: 19.16 kB / 3.226 GB, free: 120.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/6.845, allocations: 0.8047 MB / 3.226 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/6.846, allocations: 392.5 kB / 3.227 GB, free: 120.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/6.858, allocations: 12.11 MB / 3.239 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/6.86, allocations: 194.8 kB / 3.239 GB, free: 112.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/6.861, allocations: 134.7 kB / 3.239 GB, free: 112.3 MB / 1.182 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.0005576/6.861, allocations: 171 kB / 3.239 GB, free: 112.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/6.862, allocations: 333.4 kB / 3.239 GB, free: 112 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005474/6.867, allocations: 2.58 MB / 3.242 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/6.867, allocations: 18.8 kB / 3.242 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/6.867, allocations: 3.938 kB / 3.242 GB, free: 111.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/6.867, allocations: 3.797 kB / 3.242 GB, free: 111.8 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.008328/6.876, allocations: 4.523 MB / 3.246 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/6.876, allocations: 4.562 kB / 3.246 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/6.877, allocations: 241.3 kB / 3.247 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008787/6.878, allocations: 495.6 kB / 3.247 GB, free: 111.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/6.878, allocations: 33.16 kB / 3.247 GB, free: 111.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/6.88, allocations: 4.94 MB / 3.252 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/6.88, allocations: 5.094 kB / 3.252 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/6.886, allocations: 2.449 MB / 3.254 GB, free: 106.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/6.887, allocations: 0.5798 MB / 3.255 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/6.888, allocations: 0 / 3.255 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/6.89, allocations: 209.7 kB / 3.255 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/6.89, allocations: 91.11 kB / 3.255 GB, free: 106.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/6.89, allocations: 78.08 kB / 3.255 GB, free: 106.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002373/6.892, allocations: 1.818 MB / 3.257 GB, free: 106 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.21e-07/6.892, allocations: 1.438 kB / 3.257 GB, free: 106 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006306/6.899, allocations: 1.86 MB / 3.259 GB, free: 105.7 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.003099/6.902, allocations: 2.259 MB / 3.261 GB, free: 105.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005068/6.907, allocations: 3.564 MB / 3.265 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/6.907, allocations: 3.969 kB / 3.265 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/6.908, allocations: 0.797 MB / 3.265 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006718/6.915, allocations: 1.415 MB / 3.267 GB, free: 104.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/6.921, allocations: 4.258 MB / 3.271 GB, free: 103.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/6.923, allocations: 2.244 MB / 3.273 GB, free: 102.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004798/6.928, allocations: 1.147 MB / 3.274 GB, free: 102.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/6.928, allocations: 205.8 kB / 3.274 GB, free: 102.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.082e-06/6.928, allocations: 0 / 3.274 GB, free: 102.6 MB / 1.182 GB Notification: Performance of Templates: time 0.1104/7.038, allocations: 80.42 MB / 3.353 GB, free: 97.26 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