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 1.985/1.985, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001011/0.001011, allocations: 180.9 kB / 487.4 MB, free: 5.062 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.355/1.355, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 87.92 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.88e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2484, allocations: 142.4 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.318, allocations: 440.1 MB / 1.636 GB, free: 14.73 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/1.318, allocations: 86.83 kB / 1.636 GB, free: 14.7 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.85/5.168, allocations: 1.023 GB / 2.659 GB, free: 165.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.314e-06/5.168, allocations: 2.281 kB / 2.659 GB, free: 165.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009161/5.169, allocations: 92.17 kB / 2.659 GB, free: 165.3 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.0117/5.181, allocations: 3.111 MB / 2.662 GB, free: 164.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/5.181, allocations: 9.562 kB / 2.662 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00596/5.187, allocations: 0.8714 MB / 2.663 GB, free: 164.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0503/5.237, allocations: 23.1 MB / 2.685 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/5.237, allocations: 53.81 kB / 2.686 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008545/5.238, allocations: 121.7 kB / 2.686 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005387/5.244, allocations: 1.538 MB / 2.687 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006431/5.25, allocations: 1.825 MB / 2.689 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.397e-05/5.25, allocations: 5.344 kB / 2.689 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/5.251, allocations: 7.781 kB / 2.689 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.041e-05/5.251, allocations: 42.92 kB / 2.689 GB, free: 162.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.02754/5.278, allocations: 9.663 MB / 2.698 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00362/5.282, allocations: 1.401 MB / 2.7 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/5.283, allocations: 0.6528 MB / 2.7 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006998/5.29, allocations: 3.705 MB / 2.704 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/5.29, allocations: 44.91 kB / 2.704 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/5.292, allocations: 172.1 kB / 2.704 GB, free: 157 MB / 1.167 GB Notification: Performance of pre-optimization done (n=90): time 3.877e-06/5.292, allocations: 0 / 2.704 GB, free: 157 MB / 1.167 GB Notification: Performance of matching and sorting (n=96): time 0.01106/5.303, allocations: 3.909 MB / 2.708 GB, free: 156.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/5.303, allocations: 62.91 kB / 2.708 GB, free: 156 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/5.308, allocations: 2.898 MB / 2.711 GB, free: 155.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003936/5.309, allocations: 27.64 kB / 2.711 GB, free: 155.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/5.31, allocations: 1.596 MB / 2.713 GB, free: 155.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/5.31, allocations: 322.3 kB / 2.713 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/5.31, allocations: 4.469 kB / 2.713 GB, free: 155.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001026/5.31, allocations: 360.5 kB / 2.713 GB, free: 154.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/5.311, allocations: 0.6181 MB / 2.714 GB, free: 154.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/5.312, allocations: 1.293 MB / 2.715 GB, free: 153.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/5.314, allocations: 0.9098 MB / 2.716 GB, free: 153.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/5.314, allocations: 3.688 kB / 2.716 GB, free: 153.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004766/5.319, allocations: 2.385 MB / 2.718 GB, free: 153.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001321/5.321, allocations: 7.955 MB / 2.726 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/5.321, allocations: 16.5 kB / 2.726 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/5.321, allocations: 375.5 kB / 2.726 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/5.323, allocations: 380.9 kB / 2.727 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/5.325, allocations: 3.449 MB / 2.73 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/5.328, allocations: 156.6 kB / 2.73 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/5.328, allocations: 117.7 kB / 2.73 GB, free: 142.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/5.328, allocations: 3.969 kB / 2.73 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00358/5.332, allocations: 1.859 MB / 2.732 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/5.332, allocations: 21.38 kB / 2.732 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008601/5.333, allocations: 428.4 kB / 2.733 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/5.334, allocations: 347.6 kB / 2.733 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005523/5.339, allocations: 5.516 MB / 2.738 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/5.342, allocations: 143.3 kB / 2.739 GB, free: 139.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/5.342, allocations: 100.3 kB / 2.739 GB, free: 139.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.0005063/5.343, allocations: 166.8 kB / 2.739 GB, free: 139.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005691/5.343, allocations: 309.7 kB / 2.739 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/5.347, allocations: 1.797 MB / 2.741 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/5.347, allocations: 18.92 kB / 2.741 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/5.347, allocations: 9.188 kB / 2.741 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/5.349, allocations: 1.525 MB / 2.742 GB, free: 138.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.008002/5.357, allocations: 4.19 MB / 2.746 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/5.357, allocations: 8.406 kB / 2.746 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/5.358, allocations: 255.2 kB / 2.747 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/5.358, allocations: 80.66 kB / 2.747 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/5.359, allocations: 23.59 kB / 2.747 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005682/5.359, allocations: 1.302 MB / 2.748 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/5.359, allocations: 2.906 kB / 2.748 GB, free: 136.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/5.363, allocations: 2.548 MB / 2.751 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/5.364, allocations: 0.6089 MB / 2.751 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006792/5.365, allocations: 3.781 kB / 2.751 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/5.366, allocations: 123.8 kB / 2.751 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/5.366, allocations: 75.16 kB / 2.751 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/5.367, allocations: 61.31 kB / 2.751 GB, free: 135.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002845/5.369, allocations: 2.19 MB / 2.754 GB, free: 135.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/5.369, allocations: 0 / 2.754 GB, free: 135.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005769/5.375, allocations: 1.497 MB / 2.755 GB, free: 135.4 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.003167/5.378, allocations: 1.745 MB / 2.757 GB, free: 134.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004346/5.383, allocations: 2.631 MB / 2.759 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/5.383, allocations: 3.219 kB / 2.759 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008761/5.384, allocations: 0.6194 MB / 2.76 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007113/5.391, allocations: 1.517 MB / 2.761 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/5.4, allocations: 4.411 MB / 2.766 GB, free: 133.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/5.403, allocations: 2.237 MB / 2.768 GB, free: 132.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006156/5.409, allocations: 1.417 MB / 2.769 GB, free: 132.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/5.409, allocations: 188.5 kB / 2.769 GB, free: 132.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.82e-07/5.409, allocations: 0 / 2.769 GB, free: 132.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1018/5.511, allocations: 72.77 MB / 2.84 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