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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 183.8 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003598, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7392/0.7396, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerSimplified): time 0.07206/0.8117, allocations: 72.51 MB / 1.027 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03423/0.846, allocations: 23.43 MB / 1.049 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005363/0.8514, allocations: 111.3 kB / 1.049 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005164/0.8566, allocations: 1.415 MB / 1.051 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.8682, allocations: 3.617 MB / 1.054 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007915/0.8761, allocations: 2.813 MB / 1.057 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0147/0.8908, allocations: 11.2 MB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004764/0.8956, allocations: 2.414 MB / 1.07 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006786/0.9024, allocations: 2.668 MB / 1.073 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004686/0.9072, allocations: 2.357 MB / 1.075 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007466/0.9079, allocations: 128 kB / 1.075 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005803/0.9138, allocations: 1.996 MB / 1.077 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.9154, allocations: 1.035 MB / 1.078 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.9185, allocations: 1.797 MB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006298/0.9248, allocations: 4.559 MB / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9248, allocations: 0 / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9249, allocations: 4 kB / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001304/0.925, allocations: 0 / 1.085 GB, free: 10.96 MB / 0.8419 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.007834/0.9328, allocations: 3.756 MB / 1.088 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.9329, allocations: 11.97 kB / 1.088 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.9378, allocations: 0.9289 MB / 1.089 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007008/0.9448, allocations: 3.545 MB / 1.093 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.945, allocations: 148 kB / 1.093 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/0.9454, allocations: 188 kB / 1.093 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/0.9497, allocations: 2.292 MB / 1.095 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.9498, allocations: 0 / 1.095 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.9499, allocations: 68 kB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.95, allocations: 55.98 kB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003959/0.954, allocations: 1.77 MB / 1.097 GB, free: 13.99 MB / 0.8575 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.01448/0.9685, allocations: 9.982 MB / 1.107 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.9719, allocations: 1.381 MB / 1.108 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.9735, allocations: 0.7012 MB / 1.109 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005732/0.9792, allocations: 3.551 MB / 1.112 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.9793, allocations: 43.56 kB / 1.112 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00111/0.9804, allocations: 194.6 kB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 3.526e-06/0.9804, allocations: 3.938 kB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=93): time 0.01148/0.9919, allocations: 4.352 MB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.992, allocations: 60.41 kB / 1.117 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/0.9971, allocations: 3.43 MB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.9974, allocations: 53.7 kB / 1.12 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.9987, allocations: 1.603 MB / 1.122 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.9991, allocations: 331.3 kB / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.9994, allocations: 145.6 kB / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.9995, allocations: 305.1 kB / 1.123 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/1.001, allocations: 0.8901 MB / 1.123 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/1.004, allocations: 1.552 MB / 1.125 GB, free: 196 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003983/1.008, allocations: 2.402 MB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.008, allocations: 4 kB / 1.127 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0058/1.013, allocations: 2.914 MB / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004735/1.014, allocations: 0.6269 MB / 1.131 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/1.014, allocations: 20 kB / 1.131 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/1.015, allocations: 387.2 kB / 1.131 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/1.016, allocations: 395.3 kB / 1.132 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/1.021, allocations: 5.764 MB / 1.137 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/1.024, allocations: 177 kB / 1.137 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.024, allocations: 108 kB / 1.137 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.024, allocations: 7.938 kB / 1.137 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004273/1.028, allocations: 2.296 MB / 1.14 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.028, allocations: 23.94 kB / 1.14 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.029, allocations: 475.2 kB / 1.14 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.031, allocations: 351.4 kB / 1.141 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009373/1.04, allocations: 8.722 MB / 1.149 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.043, allocations: 161 kB / 1.149 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002633/1.043, allocations: 95.98 kB / 1.149 GB, free: 5.691 MB / 0.9044 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 (174): * Single equations (assignments): 166 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001838/1.045, allocations: 0.9181 MB / 1.15 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/1.045, allocations: 319.9 kB / 1.15 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/1.05, allocations: 2.081 MB / 1.153 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.05, allocations: 15.98 kB / 1.153 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.05, allocations: 4 kB / 1.153 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003469/1.054, allocations: 1.796 MB / 1.154 GB, free: 452 kB / 0.9044 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.009107/1.063, allocations: 4.531 MB / 1.159 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.063, allocations: 4.125 kB / 1.159 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.064, allocations: 279.6 kB / 1.159 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003568/1.065, allocations: 140.6 kB / 1.159 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-05/1.065, allocations: 35.97 kB / 1.159 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000879/1.066, allocations: 1.322 MB / 1.16 GB, free: 9.973 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.066, allocations: 4 kB / 1.16 GB, free: 9.969 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/1.072, allocations: 2.851 MB / 1.163 GB, free: 7.082 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.073, allocations: 0.5669 MB / 1.164 GB, free: 6.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004979/1.074, allocations: 28 kB / 1.164 GB, free: 6.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.076, allocations: 155.7 kB / 1.164 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.076, allocations: 72.84 kB / 1.164 GB, free: 6.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.076, allocations: 55.89 kB / 1.164 GB, free: 6.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003918/1.08, allocations: 2.36 MB / 1.166 GB, free: 3.848 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.82e-07/1.08, allocations: 0 / 1.166 GB, free: 3.848 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005492/1.085, allocations: 1.414 MB / 1.168 GB, free: 2.434 MB / 0.92 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 (106): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/1.087, allocations: 0.6866 MB / 1.168 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007798/1.095, allocations: 3.879 MB / 1.172 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.095, allocations: 4.062 kB / 1.172 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.097, allocations: 0.771 MB / 1.173 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008521/1.106, allocations: 1.695 MB / 1.175 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.117, allocations: 7.083 MB / 1.182 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.119, allocations: 2.157 MB / 1.184 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009925/1.12, allocations: 259.3 kB / 1.184 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of SimCode: time 1.102e-06/1.12, allocations: 0 / 1.184 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.6498/1.77, allocations: 111.8 MB / 1.293 GB, free: 246 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PowerSimplified.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches