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.198/2.198, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001314/0.001314, allocations: 188.1 kB / 492.3 MB, free: 0.6211 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.704/1.704, allocations: 221.3 MB / 0.7872 GB, free: 12.92 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.001119/0.001119, allocations: 95.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.522e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3589, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.646, allocations: 440.7 MB / 1.643 GB, free: 5.961 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.646, allocations: 91.94 kB / 1.643 GB, free: 5.914 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.951/6.597, allocations: 1.03 GB / 2.673 GB, free: 166.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.236e-06/6.597, allocations: 3.531 kB / 2.673 GB, free: 166.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001062/6.598, allocations: 88.22 kB / 2.673 GB, free: 166.4 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.01611/6.614, allocations: 3.12 MB / 2.676 GB, free: 165.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/6.614, allocations: 7.031 kB / 2.676 GB, free: 165.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008159/6.622, allocations: 0.8675 MB / 2.677 GB, free: 165.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05883/6.681, allocations: 23.14 MB / 2.699 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/6.682, allocations: 152.9 kB / 2.699 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/6.683, allocations: 199.8 kB / 2.7 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006076/6.689, allocations: 2.071 MB / 2.702 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/6.689, allocations: 1.406 kB / 2.702 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/6.689, allocations: 72.94 kB / 2.702 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/6.689, allocations: 54.86 kB / 2.702 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/6.692, allocations: 1.473 MB / 2.703 GB, free: 163.8 MB / 1.167 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.01784/6.71, allocations: 10.02 MB / 2.713 GB, free: 159.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/6.713, allocations: 1.186 MB / 2.714 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/6.713, allocations: 0.5739 MB / 2.715 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006992/6.72, allocations: 3.765 MB / 2.718 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/6.72, allocations: 51.97 kB / 2.718 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001993/6.722, allocations: 213.2 kB / 2.719 GB, free: 158 MB / 1.167 GB Notification: Performance of pre-optimization done (n=90): time 5.08e-06/6.722, allocations: 0 / 2.719 GB, free: 158 MB / 1.167 GB Notification: Performance of matching and sorting (n=96): time 0.007422/6.73, allocations: 3.182 MB / 2.722 GB, free: 157.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/6.73, allocations: 61.88 kB / 2.722 GB, free: 157 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005585/6.736, allocations: 3.21 MB / 2.725 GB, free: 156.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004275/6.736, allocations: 52.11 kB / 2.725 GB, free: 156.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/6.737, allocations: 1.594 MB / 2.726 GB, free: 156.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/6.738, allocations: 337.3 kB / 2.727 GB, free: 156.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.194e-05/6.738, allocations: 29.84 kB / 2.727 GB, free: 156.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001222/6.738, allocations: 363.9 kB / 2.727 GB, free: 155.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008361/6.739, allocations: 0.5209 MB / 2.728 GB, free: 155.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/6.74, allocations: 1.234 MB / 2.729 GB, free: 154.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/6.741, allocations: 0.6961 MB / 2.73 GB, free: 154.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/6.741, allocations: 7.156 kB / 2.73 GB, free: 154.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004164/6.745, allocations: 2.133 MB / 2.732 GB, free: 154.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00192/6.747, allocations: 8.015 MB / 2.739 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/6.747, allocations: 15.38 kB / 2.739 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/6.748, allocations: 316.8 kB / 2.74 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/6.75, allocations: 379.6 kB / 2.74 GB, free: 146.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/6.752, allocations: 3.192 MB / 2.743 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/6.755, allocations: 190.3 kB / 2.743 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/6.755, allocations: 121.2 kB / 2.744 GB, free: 143.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/6.755, allocations: 3.938 kB / 2.744 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003294/6.759, allocations: 1.909 MB / 2.745 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/6.759, allocations: 19 kB / 2.745 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/6.76, allocations: 467.5 kB / 2.746 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/6.761, allocations: 343.4 kB / 2.746 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/6.768, allocations: 5.632 MB / 2.752 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/6.771, allocations: 178.3 kB / 2.752 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/6.772, allocations: 103.9 kB / 2.752 GB, free: 140.2 MB / 1.167 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 () * 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.0006331/6.772, allocations: 207.6 kB / 2.752 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008984/6.773, allocations: 330.1 kB / 2.752 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/6.777, allocations: 1.852 MB / 2.754 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/6.777, allocations: 10.25 kB / 2.754 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/6.777, allocations: 3.953 kB / 2.754 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001836/6.779, allocations: 1.535 MB / 2.756 GB, free: 139.3 MB / 1.167 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.00837/6.787, allocations: 4.443 MB / 2.76 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/6.787, allocations: 6.812 kB / 2.76 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/6.789, allocations: 261.9 kB / 2.76 GB, free: 138.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/6.789, allocations: 115.4 kB / 2.761 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/6.789, allocations: 38.66 kB / 2.761 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/6.79, allocations: 1.283 MB / 2.762 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/6.79, allocations: 6.781 kB / 2.762 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/6.794, allocations: 2.595 MB / 2.764 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/6.796, allocations: 0.6284 MB / 2.765 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006424/6.796, allocations: 18.53 kB / 2.765 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/6.798, allocations: 141.1 kB / 2.765 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/6.798, allocations: 77.61 kB / 2.765 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/6.798, allocations: 59.25 kB / 2.765 GB, free: 136.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004197/6.802, allocations: 2.471 MB / 2.768 GB, free: 136.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/6.802, allocations: 2.156 kB / 2.768 GB, free: 136.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007561/6.81, allocations: 1.599 MB / 2.769 GB, free: 136.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete 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.00344/6.813, allocations: 1.816 MB / 2.771 GB, free: 135.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004969/6.818, allocations: 2.642 MB / 2.774 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/6.819, allocations: 3.844 kB / 2.774 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/6.82, allocations: 0.6344 MB / 2.774 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008836/6.828, allocations: 1.686 MB / 2.776 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009723/6.838, allocations: 4.496 MB / 2.78 GB, free: 134.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/6.84, allocations: 2.24 MB / 2.782 GB, free: 133.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006571/6.847, allocations: 1.468 MB / 2.784 GB, free: 133.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/6.847, allocations: 199.6 kB / 2.784 GB, free: 133.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/6.847, allocations: 0 / 2.784 GB, free: 133.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1494/6.997, allocations: 89.34 MB / 2.871 GB, free: 129.1 MB / 1.167 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