Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.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.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_9_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_9_Buildings.Fluid.Movers.Validation.PowerSimplified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 405.3 MB, free: 13.27 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.001343/0.001343, allocations: 173.9 kB / 498.1 MB, free: 5.512 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.72/1.72, allocations: 223.2 MB / 0.7949 GB, free: 17.9 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.001218/0.001218, allocations: 94.58 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004857, allocations: 14.06 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3738, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.727, allocations: 440.8 MB / 1.653 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.727, allocations: 105.4 kB / 1.653 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.834/5.561, allocations: 1.033 GB / 2.686 GB, free: 79.88 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.444e-06/5.561, allocations: 0 / 2.686 GB, free: 79.88 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007333/5.562, allocations: 99.91 kB / 2.686 GB, free: 79.78 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.02114/5.583, allocations: 5.013 MB / 2.691 GB, free: 74.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/5.583, allocations: 8.031 kB / 2.691 GB, free: 74.69 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006344/5.589, allocations: 0.8656 MB / 2.692 GB, free: 73.82 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04891/5.638, allocations: 23.29 MB / 2.715 GB, free: 50.29 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/5.638, allocations: 143.5 kB / 2.715 GB, free: 50.15 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/5.639, allocations: 203.9 kB / 2.715 GB, free: 49.95 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/5.643, allocations: 2.186 MB / 2.717 GB, free: 47.68 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/5.643, allocations: 11.92 kB / 2.717 GB, free: 47.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/5.643, allocations: 76.33 kB / 2.717 GB, free: 47.59 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/5.644, allocations: 47.95 kB / 2.717 GB, free: 47.54 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/5.647, allocations: 1.676 MB / 2.719 GB, free: 45.86 MB / 1.167 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.0162/5.663, allocations: 10.01 MB / 2.729 GB, free: 35.37 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/5.666, allocations: 1.374 MB / 2.73 GB, free: 33.98 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006738/5.673, allocations: 3.751 MB / 2.734 GB, free: 29.93 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/5.673, allocations: 51.48 kB / 2.734 GB, free: 29.87 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001798/5.675, allocations: 218.5 kB / 2.734 GB, free: 29.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=90): time 7.083e-06/5.675, allocations: 3.938 kB / 2.734 GB, free: 29.65 MB / 1.167 GB Notification: Performance of matching and sorting (n=96): time 0.01127/5.686, allocations: 4.178 MB / 2.738 GB, free: 25.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/5.686, allocations: 76.3 kB / 2.738 GB, free: 25.31 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00633/5.693, allocations: 3.245 MB / 2.741 GB, free: 22.09 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005481/5.693, allocations: 53.7 kB / 2.741 GB, free: 22.03 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001397/5.695, allocations: 1.581 MB / 2.743 GB, free: 20.43 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/5.695, allocations: 335.1 kB / 2.743 GB, free: 20.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.643e-05/5.695, allocations: 32 kB / 2.743 GB, free: 20.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001585/5.695, allocations: 365.9 kB / 2.743 GB, free: 19.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/5.697, allocations: 0.6207 MB / 2.744 GB, free: 19.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/5.699, allocations: 1.324 MB / 2.745 GB, free: 17.43 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/5.701, allocations: 0.7933 MB / 2.746 GB, free: 16.64 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/5.701, allocations: 4 kB / 2.746 GB, free: 16.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006016/5.707, allocations: 2.324 MB / 2.748 GB, free: 14.29 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004922/5.712, allocations: 8.015 MB / 2.756 GB, free: 5.711 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-05/5.712, allocations: 24 kB / 2.756 GB, free: 5.688 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/5.713, allocations: 303.2 kB / 2.757 GB, free: 5.379 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/5.715, allocations: 376.8 kB / 2.757 GB, free: 5.012 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/5.717, allocations: 3.199 MB / 2.76 GB, free: 1.688 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/5.722, allocations: 179.6 kB / 2.76 GB, free: 1.512 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/5.723, allocations: 123.9 kB / 2.76 GB, free: 1.391 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/5.723, allocations: 4 kB / 2.76 GB, free: 1.387 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004436/5.727, allocations: 2.077 MB / 2.762 GB, free: 15.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-05/5.727, allocations: 20 kB / 2.762 GB, free: 15.28 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/5.728, allocations: 457.8 kB / 2.763 GB, free: 14.82 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/5.73, allocations: 339.5 kB / 2.763 GB, free: 14.49 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007779/5.738, allocations: 5.755 MB / 2.769 GB, free: 8.434 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/5.741, allocations: 167.6 kB / 2.769 GB, free: 8.27 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/5.742, allocations: 104 kB / 2.769 GB, free: 8.168 MB / 1.182 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.002806/5.744, allocations: 0.9259 MB / 2.77 GB, free: 7.23 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/5.745, allocations: 319.9 kB / 2.77 GB, free: 6.914 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/5.751, allocations: 2.042 MB / 2.772 GB, free: 4.863 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/5.751, allocations: 12 kB / 2.772 GB, free: 4.852 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/5.751, allocations: 0 / 2.772 GB, free: 4.852 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003253/5.754, allocations: 1.715 MB / 2.774 GB, free: 3.047 MB / 1.182 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.9811/6.735, allocations: 4.639 MB / 2.778 GB, free: 178.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/6.735, allocations: 5.5 kB / 2.778 GB, free: 178.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/6.737, allocations: 259 kB / 2.779 GB, free: 178.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/6.737, allocations: 121.5 kB / 2.779 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/6.737, allocations: 36.06 kB / 2.779 GB, free: 178.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007586/6.738, allocations: 1.277 MB / 2.78 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/6.738, allocations: 2.078 kB / 2.78 GB, free: 177.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/6.745, allocations: 2.833 MB / 2.783 GB, free: 177.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/6.748, allocations: 0.6293 MB / 2.783 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/6.749, allocations: 27.52 kB / 2.784 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002578/6.752, allocations: 156.7 kB / 2.784 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/6.752, allocations: 69.48 kB / 2.784 GB, free: 177.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/6.752, allocations: 60.52 kB / 2.784 GB, free: 177.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.006043/6.758, allocations: 2.504 MB / 2.786 GB, free: 177.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.02e-07/6.758, allocations: 2.438 kB / 2.786 GB, free: 177.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009948/6.768, allocations: 1.612 MB / 2.788 GB, free: 177.2 MB / 1.182 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.004422/6.773, allocations: 1.831 MB / 2.79 GB, free: 176.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008086/6.781, allocations: 2.808 MB / 2.792 GB, free: 176.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/6.781, allocations: 1.031 kB / 2.792 GB, free: 176.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/6.783, allocations: 0.7416 MB / 2.793 GB, free: 176.7 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/6.793, allocations: 1.681 MB / 2.795 GB, free: 176.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/6.809, allocations: 6.66 MB / 2.801 GB, free: 174 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/6.811, allocations: 2.236 MB / 2.803 GB, free: 173.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005194/6.816, allocations: 0.8296 MB / 2.804 GB, free: 173.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/6.817, allocations: 263.3 kB / 2.804 GB, free: 173.2 MB / 1.182 GB Notification: Performance of SimCode: time 1.232e-06/6.817, allocations: 0 / 2.804 GB, free: 173.2 MB / 1.182 GB Notification: Performance of Templates: time 0.172/6.989, allocations: 80.59 MB / 2.883 GB, free: 169.9 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PowerSimplified.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches