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.403/2.403, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001213/0.001213, allocations: 188.9 kB / 498.1 MB, free: 5.758 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.733/1.733, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.001295/0.001295, allocations: 110.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.000446, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3918, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.75, allocations: 440.1 MB / 1.653 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003869/1.75, allocations: 102.3 kB / 1.653 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.507/7.257, allocations: 1.519 GB / 3.172 GB, free: 15.46 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.494e-06/7.257, allocations: 0 / 3.172 GB, free: 15.46 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006614/7.258, allocations: 103.9 kB / 3.172 GB, free: 15.36 MB / 1.167 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.01835/7.276, allocations: 5.189 MB / 3.177 GB, free: 10.09 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/7.276, allocations: 20.02 kB / 3.177 GB, free: 10.07 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0098/7.286, allocations: 1.462 MB / 3.179 GB, free: 8.602 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07225/7.359, allocations: 28.35 MB / 3.206 GB, free: 11.93 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/7.359, allocations: 176.1 kB / 3.207 GB, free: 11.76 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/7.361, allocations: 240 kB / 3.207 GB, free: 11.52 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/7.374, allocations: 2.675 MB / 3.209 GB, free: 8.703 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/7.374, allocations: 0 / 3.209 GB, free: 8.703 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007185/7.375, allocations: 87.95 kB / 3.21 GB, free: 8.617 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/7.375, allocations: 52 kB / 3.21 GB, free: 8.566 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01289/7.388, allocations: 2.115 MB / 3.212 GB, free: 6.449 MB / 1.198 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.9378/8.326, allocations: 12.17 MB / 3.224 GB, free: 136.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004746/8.331, allocations: 1.729 MB / 3.225 GB, free: 136.2 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009652/8.34, allocations: 3.842 MB / 3.229 GB, free: 134.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/8.341, allocations: 48.17 kB / 3.229 GB, free: 134.6 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002286/8.343, allocations: 223.6 kB / 3.229 GB, free: 134.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=116): time 5.46e-06/8.343, allocations: 0 / 3.229 GB, free: 134.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=116): time 0.01649/8.359, allocations: 4.102 MB / 3.233 GB, free: 133.7 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/8.359, allocations: 64.3 kB / 3.233 GB, free: 133.6 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006473/8.366, allocations: 2.807 MB / 3.236 GB, free: 133.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006231/8.367, allocations: 62.58 kB / 3.236 GB, free: 133.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/8.368, allocations: 1.694 MB / 3.238 GB, free: 133 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008056/8.369, allocations: 398.6 kB / 3.238 GB, free: 132.8 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/8.369, allocations: 38.2 kB / 3.238 GB, free: 132.8 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001525/8.369, allocations: 372.7 kB / 3.239 GB, free: 132.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/8.372, allocations: 0.7773 MB / 3.239 GB, free: 132.5 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/8.375, allocations: 1.538 MB / 3.241 GB, free: 131.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002881/8.378, allocations: 0.9243 MB / 3.242 GB, free: 131.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/8.378, allocations: 4.938 kB / 3.242 GB, free: 131.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.009195/8.387, allocations: 2.898 MB / 3.245 GB, free: 131.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002101/8.389, allocations: 7.689 MB / 3.252 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/8.389, allocations: 19.03 kB / 3.252 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002126/8.391, allocations: 0.6304 MB / 3.253 GB, free: 123.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/8.393, allocations: 414.1 kB / 3.253 GB, free: 123.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/8.397, allocations: 5.033 MB / 3.258 GB, free: 119.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004248/8.401, allocations: 241.8 kB / 3.258 GB, free: 119.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/8.402, allocations: 158.7 kB / 3.258 GB, free: 119.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/8.402, allocations: 4.812 kB / 3.258 GB, free: 119.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007491/8.409, allocations: 2.726 MB / 3.261 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.735e-05/8.409, allocations: 16.56 kB / 3.261 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/8.412, allocations: 0.8933 MB / 3.262 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/8.414, allocations: 386.1 kB / 3.262 GB, free: 119 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/8.428, allocations: 12.73 MB / 3.275 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/8.432, allocations: 233.5 kB / 3.275 GB, free: 110.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000676/8.433, allocations: 137.2 kB / 3.275 GB, free: 110.9 MB / 1.198 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.00328/8.436, allocations: 0.8211 MB / 3.276 GB, free: 110.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/8.438, allocations: 349.8 kB / 3.276 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009373/8.447, allocations: 2.961 MB / 3.279 GB, free: 110.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/8.447, allocations: 18.69 kB / 3.279 GB, free: 110.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/8.447, allocations: 0 / 3.279 GB, free: 110.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/8.447, allocations: 11.84 kB / 3.279 GB, free: 110.3 MB / 1.198 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.021/8.468, allocations: 5.142 MB / 3.284 GB, free: 109.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/8.468, allocations: 1.969 kB / 3.284 GB, free: 109.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/8.47, allocations: 242 kB / 3.284 GB, free: 109.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/8.472, allocations: 0.628 MB / 3.285 GB, free: 109.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/8.472, allocations: 50.94 kB / 3.285 GB, free: 109.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/8.476, allocations: 4.931 MB / 3.29 GB, free: 105.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/8.476, allocations: 0 / 3.29 GB, free: 105.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/8.483, allocations: 2.767 MB / 3.293 GB, free: 105 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/8.486, allocations: 0.5938 MB / 3.293 GB, free: 104.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/8.487, allocations: 28 kB / 3.293 GB, free: 104.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/8.49, allocations: 234.6 kB / 3.293 GB, free: 104.7 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/8.491, allocations: 90.55 kB / 3.294 GB, free: 104.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/8.491, allocations: 74.95 kB / 3.294 GB, free: 104.7 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.005098/8.496, allocations: 2.151 MB / 3.296 GB, free: 104.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 5.31e-07/8.496, allocations: 0 / 3.296 GB, free: 104.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01042/8.506, allocations: 1.945 MB / 3.298 GB, free: 104.4 MB / 1.198 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.005126/8.512, allocations: 2.339 MB / 3.3 GB, free: 103.9 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.01058/8.522, allocations: 3.911 MB / 3.304 GB, free: 103.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/8.522, allocations: 5.469 kB / 3.304 GB, free: 103.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/8.525, allocations: 1 MB / 3.305 GB, free: 103.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009013/8.534, allocations: 1.517 MB / 3.306 GB, free: 103.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/8.552, allocations: 6.812 MB / 3.313 GB, free: 100.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004749/8.557, allocations: 2.25 MB / 3.315 GB, free: 99.64 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006558/8.563, allocations: 0.7781 MB / 3.316 GB, free: 99.61 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/8.565, allocations: 262.2 kB / 3.316 GB, free: 99.6 MB / 1.198 GB Notification: Performance of SimCode: time 2.344e-06/8.565, allocations: 0.5 kB / 3.316 GB, free: 99.6 MB / 1.198 GB Notification: Performance of Templates: time 0.158/8.723, allocations: 87.01 MB / 3.401 GB, free: 94.96 MB / 1.198 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