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.551/1.551, allocations: 249.5 MB / 257 MB, free: 6.941 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.001099/0.001099, allocations: 192.4 kB / 316.3 MB, free: 3.273 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.91/1.91, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008974/0.0008976, allocations: 94.52 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.594e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.719/1.951, allocations: 434.8 MB / 1.31 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.951, allocations: 90.53 kB / 1.31 GB, free: 258.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.075/6.026, allocations: 0.972 GB / 2.282 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.853e-06/6.026, allocations: 0 / 2.282 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007284/6.026, allocations: 92.11 kB / 2.282 GB, free: 95.67 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.01181/6.038, allocations: 3.103 MB / 2.285 GB, free: 94.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/6.038, allocations: 11.44 kB / 2.285 GB, free: 94.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/6.043, allocations: 0.6036 MB / 2.286 GB, free: 94.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05112/6.094, allocations: 22.08 MB / 2.307 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.842e-05/6.095, allocations: 54.94 kB / 2.307 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/6.095, allocations: 118.6 kB / 2.307 GB, free: 93.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002633/6.098, allocations: 1.503 MB / 2.309 GB, free: 93.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/6.1, allocations: 1.787 MB / 2.31 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/6.1, allocations: 16.84 kB / 2.311 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/6.1, allocations: 0 / 2.311 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/6.1, allocations: 51.34 kB / 2.311 GB, free: 92.86 MB / 0.8855 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.01419/6.115, allocations: 9.477 MB / 2.32 GB, free: 88.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/6.117, allocations: 1.364 MB / 2.321 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/6.117, allocations: 0.6414 MB / 2.322 GB, free: 88.87 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005509/6.123, allocations: 3.615 MB / 2.325 GB, free: 87.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/6.123, allocations: 45.28 kB / 2.325 GB, free: 87.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001496/6.124, allocations: 172.1 kB / 2.326 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=90): time 3.346e-06/6.124, allocations: 7.344 kB / 2.326 GB, free: 87.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.01031/6.135, allocations: 3.867 MB / 2.329 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/6.135, allocations: 59.78 kB / 2.329 GB, free: 86.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/6.139, allocations: 2.873 MB / 2.332 GB, free: 85.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/6.14, allocations: 31.27 kB / 2.332 GB, free: 85.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/6.141, allocations: 1.572 MB / 2.334 GB, free: 85.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003516/6.141, allocations: 333.1 kB / 2.334 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/6.141, allocations: 0 / 2.334 GB, free: 85.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001128/6.141, allocations: 365.9 kB / 2.334 GB, free: 84.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/6.142, allocations: 0.5935 MB / 2.335 GB, free: 84.83 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/6.143, allocations: 1.282 MB / 2.336 GB, free: 83.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/6.146, allocations: 0.8967 MB / 2.337 GB, free: 83.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/6.146, allocations: 7.75 kB / 2.337 GB, free: 83.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005185/6.151, allocations: 2.351 MB / 2.339 GB, free: 83.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001709/6.152, allocations: 7.938 MB / 2.347 GB, free: 75.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/6.153, allocations: 14.97 kB / 2.347 GB, free: 75.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/6.153, allocations: 381.1 kB / 2.348 GB, free: 75.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/6.155, allocations: 350.8 kB / 2.348 GB, free: 75.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/6.157, allocations: 3.448 MB / 2.351 GB, free: 72.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/6.16, allocations: 127.3 kB / 2.351 GB, free: 72.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/6.16, allocations: 122.3 kB / 2.351 GB, free: 72.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/6.16, allocations: 2.844 kB / 2.351 GB, free: 72.67 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004045/6.164, allocations: 1.828 MB / 2.353 GB, free: 72.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/6.164, allocations: 18.75 kB / 2.353 GB, free: 72.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/6.165, allocations: 420.8 kB / 2.354 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/6.166, allocations: 327.5 kB / 2.354 GB, free: 72.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006512/6.173, allocations: 5.524 MB / 2.359 GB, free: 69.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/6.177, allocations: 114.9 kB / 2.359 GB, free: 69.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003102/6.177, allocations: 111.8 kB / 2.36 GB, free: 69.28 MB / 0.8855 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.0005972/6.178, allocations: 159.2 kB / 2.36 GB, free: 69.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/6.178, allocations: 305.3 kB / 2.36 GB, free: 69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/6.183, allocations: 1.763 MB / 2.362 GB, free: 68.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/6.183, allocations: 16.44 kB / 2.362 GB, free: 68.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/6.183, allocations: 0 / 2.362 GB, free: 68.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/6.185, allocations: 1.493 MB / 2.363 GB, free: 68.39 MB / 0.8855 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.007659/6.192, allocations: 4.106 MB / 2.367 GB, free: 67.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/6.192, allocations: 2.562 kB / 2.367 GB, free: 67.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/6.193, allocations: 232.7 kB / 2.367 GB, free: 67.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/6.194, allocations: 86.72 kB / 2.368 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-05/6.194, allocations: 31.2 kB / 2.368 GB, free: 67.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/6.194, allocations: 1.288 MB / 2.369 GB, free: 66.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/6.194, allocations: 6.75 kB / 2.369 GB, free: 66.61 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/6.198, allocations: 2.499 MB / 2.371 GB, free: 65.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/6.2, allocations: 0.5975 MB / 2.372 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005816/6.201, allocations: 8.156 kB / 2.372 GB, free: 65.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/6.202, allocations: 101.4 kB / 2.372 GB, free: 65.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/6.202, allocations: 76.05 kB / 2.372 GB, free: 65.69 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/6.202, allocations: 60.16 kB / 2.372 GB, free: 65.69 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003586/6.206, allocations: 2.171 MB / 2.374 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/6.206, allocations: 0 / 2.374 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008109/6.214, allocations: 1.491 MB / 2.376 GB, free: 65.43 MB / 0.8855 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.003418/6.218, allocations: 1.742 MB / 2.377 GB, free: 64.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004611/6.222, allocations: 2.573 MB / 2.38 GB, free: 64.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.222, allocations: 1.312 kB / 2.38 GB, free: 64.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009527/6.223, allocations: 0.5933 MB / 2.38 GB, free: 64.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008447/6.232, allocations: 1.512 MB / 2.382 GB, free: 64.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/6.243, allocations: 4.352 MB / 2.386 GB, free: 63.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/6.245, allocations: 2.229 MB / 2.388 GB, free: 62.91 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006695/6.252, allocations: 1.391 MB / 2.39 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/6.252, allocations: 192.2 kB / 2.39 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of SimCode: time 1.663e-06/6.253, allocations: 0 / 2.39 GB, free: 62.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.1397/6.392, allocations: 72.2 MB / 2.46 GB, free: 58.27 MB / 0.8855 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