Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.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.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified") translateModel(Buildings.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.P|pump_dp.P|pump_m_flow.P|pump_Nrpm.per.speed_rpm_nominal|pump_Nrpm.Nrpm",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001145/0.001144, allocations: 179.6 kB / 326.5 MB, free: 2.25 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.912/1.912, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009977/0.0009976, allocations: 92.19 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12.84 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2751, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.296, allocations: 434.5 MB / 1.324 GB, free: 2.617 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/1.297, allocations: 99.61 kB / 1.325 GB, free: 2.566 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.781/5.078, allocations: 0.9814 GB / 2.306 GB, free: 81.65 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.786e-06/5.078, allocations: 3.938 kB / 2.306 GB, free: 81.64 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008072/5.079, allocations: 91.91 kB / 2.306 GB, free: 81.55 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.01881/5.098, allocations: 4.997 MB / 2.311 GB, free: 76.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/5.098, allocations: 8.031 kB / 2.311 GB, free: 76.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/5.103, allocations: 0.5963 MB / 2.311 GB, free: 75.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04905/5.152, allocations: 22.27 MB / 2.333 GB, free: 53.47 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/5.152, allocations: 147.5 kB / 2.333 GB, free: 53.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009691/5.153, allocations: 203.9 kB / 2.334 GB, free: 53.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006258/5.159, allocations: 2.104 MB / 2.336 GB, free: 50.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.579e-05/5.16, allocations: 0 / 2.336 GB, free: 50.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004629/5.16, allocations: 80 kB / 2.336 GB, free: 50.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/5.16, allocations: 44 kB / 2.336 GB, free: 50.81 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/5.164, allocations: 1.551 MB / 2.337 GB, free: 49.26 MB / 0.8855 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.01969/5.184, allocations: 9.829 MB / 2.347 GB, free: 38.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/5.187, allocations: 1.247 MB / 2.348 GB, free: 37.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007454/5.194, allocations: 3.67 MB / 2.352 GB, free: 33.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/5.194, allocations: 43.56 kB / 2.352 GB, free: 33.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002104/5.197, allocations: 222.5 kB / 2.352 GB, free: 33.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=90): time 7.965e-06/5.197, allocations: 0 / 2.352 GB, free: 33.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.01085/5.207, allocations: 3.882 MB / 2.356 GB, free: 29.48 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/5.208, allocations: 64.36 kB / 2.356 GB, free: 29.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007611/5.215, allocations: 3.224 MB / 2.359 GB, free: 26.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004769/5.216, allocations: 49.7 kB / 2.359 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/5.218, allocations: 1.577 MB / 2.36 GB, free: 24.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/5.218, allocations: 343.1 kB / 2.361 GB, free: 24.21 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/5.218, allocations: 28 kB / 2.361 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001509/5.219, allocations: 361.9 kB / 2.361 GB, free: 23.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/5.22, allocations: 0.5621 MB / 2.362 GB, free: 23.26 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/5.222, allocations: 1.265 MB / 2.363 GB, free: 21.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/5.223, allocations: 0.7317 MB / 2.364 GB, free: 20.94 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/5.223, allocations: 4 kB / 2.364 GB, free: 20.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005135/5.228, allocations: 2.204 MB / 2.366 GB, free: 18.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00172/5.23, allocations: 8.002 MB / 2.374 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/5.23, allocations: 20 kB / 2.374 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/5.231, allocations: 306.6 kB / 2.374 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/5.233, allocations: 347.4 kB / 2.374 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/5.235, allocations: 3.201 MB / 2.377 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/5.238, allocations: 143.8 kB / 2.378 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/5.238, allocations: 124 kB / 2.378 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/5.238, allocations: 4 kB / 2.378 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004201/5.243, allocations: 1.951 MB / 2.38 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.611e-05/5.243, allocations: 20 kB / 2.38 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/5.244, allocations: 463.2 kB / 2.38 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/5.245, allocations: 319.5 kB / 2.38 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007374/5.252, allocations: 5.754 MB / 2.386 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/5.256, allocations: 143.8 kB / 2.386 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004577/5.256, allocations: 107.9 kB / 2.386 GB, free: 12.82 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.003018/5.259, allocations: 0.9143 MB / 2.387 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/5.26, allocations: 319.9 kB / 2.387 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/5.266, allocations: 1.902 MB / 2.389 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/5.266, allocations: 16 kB / 2.389 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/5.266, allocations: 0 / 2.389 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/5.269, allocations: 1.605 MB / 2.391 GB, free: 7.945 MB / 0.9011 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.01189/5.281, allocations: 4.464 MB / 2.395 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/5.281, allocations: 0 / 2.395 GB, free: 3.359 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/5.282, allocations: 235.8 kB / 2.395 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/5.283, allocations: 116.7 kB / 2.396 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/5.283, allocations: 35.97 kB / 2.396 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008685/5.284, allocations: 1.287 MB / 2.397 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/5.284, allocations: 0 / 2.397 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.705/5.989, allocations: 2.63 MB / 2.399 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002408/5.991, allocations: 0.6185 MB / 2.4 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/5.991, allocations: 21.56 kB / 2.4 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/5.993, allocations: 127.4 kB / 2.4 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/5.993, allocations: 73.83 kB / 2.4 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/5.993, allocations: 59.53 kB / 2.4 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004432/5.998, allocations: 2.482 MB / 2.403 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.7e-07/5.998, allocations: 0 / 2.403 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006915/6.005, allocations: 1.599 MB / 2.404 GB, free: 124.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.vol.dynBal.U,pump_dp.vol.dynBal.U,pump_m_flow.vol.dynBal.U) * 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 (108): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004329/6.009, allocations: 1.822 MB / 2.406 GB, free: 124 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007162/6.016, allocations: 2.61 MB / 2.409 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/6.016, allocations: 2.875 kB / 2.409 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/6.018, allocations: 0.6862 MB / 2.409 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009877/6.028, allocations: 1.686 MB / 2.411 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/6.042, allocations: 6.539 MB / 2.417 GB, free: 121.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003286/6.045, allocations: 2.233 MB / 2.419 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005262/6.05, allocations: 0.7943 MB / 2.42 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/6.051, allocations: 263.1 kB / 2.421 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/6.051, allocations: 0 / 2.421 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.1381/6.189, allocations: 80.1 MB / 2.499 GB, free: 116.1 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_PowerSimplified.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches