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.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 186.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008091/0.0008088, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.613e-05, allocations: 8 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2658, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.747/2.013, allocations: 434.5 MB / 1.316 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/2.013, allocations: 89.86 kB / 1.316 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.952/5.965, allocations: 0.9785 GB / 2.295 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.934e-06/5.965, allocations: 0 / 2.295 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000761/5.966, allocations: 90.61 kB / 2.295 GB, free: 106.5 MB / 0.9011 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.01271/5.979, allocations: 3.112 MB / 2.298 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/5.979, allocations: 9.656 kB / 2.298 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/5.984, allocations: 0.5998 MB / 2.298 GB, free: 105.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05547/6.039, allocations: 22.14 MB / 2.32 GB, free: 104 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/6.04, allocations: 149.8 kB / 2.32 GB, free: 104 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006778/6.04, allocations: 195.7 kB / 2.32 GB, free: 104 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00446/6.045, allocations: 2.032 MB / 2.322 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/6.045, allocations: 8.406 kB / 2.322 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/6.045, allocations: 76.67 kB / 2.322 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-05/6.045, allocations: 47.22 kB / 2.322 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/6.048, allocations: 1.426 MB / 2.324 GB, free: 103.7 MB / 0.9011 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.01775/6.066, allocations: 9.838 MB / 2.333 GB, free: 99.68 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/6.068, allocations: 1.159 MB / 2.335 GB, free: 99.65 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008055/6.069, allocations: 0.5393 MB / 2.335 GB, free: 99.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007402/6.076, allocations: 3.702 MB / 2.339 GB, free: 97.91 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/6.076, allocations: 46.5 kB / 2.339 GB, free: 97.87 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002006/6.078, allocations: 212.8 kB / 2.339 GB, free: 97.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=90): time 6.843e-06/6.079, allocations: 5.188 kB / 2.339 GB, free: 97.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=96): time 0.007127/6.086, allocations: 3.124 MB / 2.342 GB, free: 96.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/6.086, allocations: 66.94 kB / 2.342 GB, free: 96.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/6.091, allocations: 3.186 MB / 2.345 GB, free: 96.57 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003491/6.091, allocations: 52.2 kB / 2.345 GB, free: 96.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/6.092, allocations: 1.58 MB / 2.347 GB, free: 96.12 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/6.093, allocations: 337.1 kB / 2.347 GB, free: 95.91 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/6.093, allocations: 29.06 kB / 2.347 GB, free: 95.91 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001203/6.093, allocations: 366 kB / 2.347 GB, free: 95.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007657/6.094, allocations: 0.5072 MB / 2.348 GB, free: 95.61 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/6.095, allocations: 1.212 MB / 2.349 GB, free: 94.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/6.096, allocations: 0.6874 MB / 2.35 GB, free: 94.74 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/6.096, allocations: 3 kB / 2.35 GB, free: 94.74 MB / 0.9011 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003825/6.1, allocations: 2.108 MB / 2.352 GB, free: 94.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001796/6.101, allocations: 8.007 MB / 2.36 GB, free: 86.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/6.102, allocations: 14.19 kB / 2.36 GB, free: 86.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009597/6.102, allocations: 316.3 kB / 2.36 GB, free: 86.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/6.104, allocations: 346.4 kB / 2.36 GB, free: 86.13 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/6.106, allocations: 3.195 MB / 2.363 GB, free: 83.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/6.109, allocations: 154.1 kB / 2.364 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/6.11, allocations: 121.1 kB / 2.364 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/6.11, allocations: 3.875 kB / 2.364 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003075/6.113, allocations: 1.891 MB / 2.366 GB, free: 83.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/6.113, allocations: 19.89 kB / 2.366 GB, free: 83.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/6.114, allocations: 460.2 kB / 2.366 GB, free: 83.37 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/6.115, allocations: 321.3 kB / 2.366 GB, free: 83.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/6.121, allocations: 5.615 MB / 2.372 GB, free: 80.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/6.124, allocations: 158 kB / 2.372 GB, free: 80.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/6.124, allocations: 104.7 kB / 2.372 GB, free: 80.04 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 () * 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.0005375/6.125, allocations: 210.1 kB / 2.372 GB, free: 79.92 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/6.126, allocations: 319.9 kB / 2.373 GB, free: 79.75 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/6.129, allocations: 1.811 MB / 2.374 GB, free: 79.62 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/6.129, allocations: 14.52 kB / 2.374 GB, free: 79.62 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/6.129, allocations: 0 / 2.374 GB, free: 79.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001731/6.131, allocations: 1.51 MB / 2.376 GB, free: 79.14 MB / 0.9011 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.007676/6.139, allocations: 4.363 MB / 2.38 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/6.139, allocations: 3.25 kB / 2.38 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/6.14, allocations: 225.2 kB / 2.38 GB, free: 78.43 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/6.14, allocations: 115.3 kB / 2.38 GB, free: 78.42 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/6.14, allocations: 36.66 kB / 2.38 GB, free: 78.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005837/6.141, allocations: 1.28 MB / 2.382 GB, free: 77.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.141, allocations: 8.203 kB / 2.382 GB, free: 77.32 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003467/6.144, allocations: 2.54 MB / 2.384 GB, free: 76.69 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/6.146, allocations: 0.6176 MB / 2.385 GB, free: 76.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/6.146, allocations: 22.56 kB / 2.385 GB, free: 76.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/6.148, allocations: 115.9 kB / 2.385 GB, free: 76.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/6.148, allocations: 83.22 kB / 2.385 GB, free: 76.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/6.148, allocations: 54.39 kB / 2.385 GB, free: 76.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003828/6.152, allocations: 2.453 MB / 2.387 GB, free: 76.24 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.71e-07/6.152, allocations: 0 / 2.387 GB, free: 76.24 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.006708/6.159, allocations: 1.587 MB / 2.389 GB, free: 76.12 MB / 0.9011 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.003215/6.162, allocations: 1.811 MB / 2.391 GB, free: 75.68 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004583/6.167, allocations: 2.593 MB / 2.393 GB, free: 75.5 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/6.167, allocations: 6.812 kB / 2.393 GB, free: 75.5 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009267/6.167, allocations: 0.615 MB / 2.394 GB, free: 75.49 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008446/6.176, allocations: 1.678 MB / 2.396 GB, free: 75.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/6.184, allocations: 4.44 MB / 2.4 GB, free: 74.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/6.186, allocations: 2.23 MB / 2.402 GB, free: 73.59 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005957/6.192, allocations: 1.444 MB / 2.404 GB, free: 73.55 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/6.193, allocations: 196.4 kB / 2.404 GB, free: 73.55 MB / 0.9011 GB Notification: Performance of SimCode: time 8.71e-07/6.193, allocations: 0 / 2.404 GB, free: 73.55 MB / 0.9011 GB Notification: Performance of Templates: time 0.1367/6.329, allocations: 88.77 MB / 2.49 GB, free: 68.64 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