Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.045/2.045, 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.001193/0.001193, allocations: 180.9 kB / 487.4 MB, free: 5.035 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.279/1.279, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0007738/0.0007738, allocations: 91.97 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.248e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9181/1.125, allocations: 440.7 MB / 1.636 GB, free: 14.06 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.125, allocations: 90.33 kB / 1.636 GB, free: 14.02 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 7.419/8.545, allocations: 2.342 GB / 3.978 GB, free: 7.332 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.283e-06/8.545, allocations: 0 / 3.978 GB, free: 7.332 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0008125/8.545, allocations: 99.97 kB / 3.978 GB, free: 7.234 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01056/8.556, allocations: 3.853 MB / 3.982 GB, free: 3.32 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/8.556, allocations: 12.03 kB / 3.982 GB, free: 3.309 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/8.565, allocations: 1.528 MB / 3.984 GB, free: 1.773 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8012/9.366, allocations: 31.53 MB / 4.014 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/9.366, allocations: 65.75 kB / 4.014 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/9.367, allocations: 136.7 kB / 4.014 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004586/9.372, allocations: 2.177 MB / 4.017 GB, free: 149.3 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/9.377, allocations: 2.397 MB / 4.019 GB, free: 149 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.653e-05/9.377, allocations: 3.281 kB / 4.019 GB, free: 149 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/9.378, allocations: 3.531 kB / 4.019 GB, free: 149 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/9.378, allocations: 55.69 kB / 4.019 GB, free: 149 MB / 1.198 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.02427/9.402, allocations: 12.69 MB / 4.031 GB, free: 144.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/9.405, allocations: 2.142 MB / 4.034 GB, free: 144.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/9.406, allocations: 0.9158 MB / 4.034 GB, free: 144.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009504/9.416, allocations: 5.113 MB / 4.039 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/9.416, allocations: 51.2 kB / 4.039 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002125/9.418, allocations: 165.7 kB / 4.04 GB, free: 142.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=88): time 5.6e-06/9.418, allocations: 3.828 kB / 4.04 GB, free: 142.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=88): time 0.007545/9.426, allocations: 2.69 MB / 4.042 GB, free: 142.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/9.426, allocations: 60.84 kB / 4.042 GB, free: 142.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/9.437, allocations: 4.567 MB / 4.047 GB, free: 141.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006231/9.438, allocations: 27.89 kB / 4.047 GB, free: 141.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/9.44, allocations: 2.058 MB / 4.049 GB, free: 141.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/9.441, allocations: 295.6 kB / 4.049 GB, free: 141.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/9.441, allocations: 0 / 4.049 GB, free: 141.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001853/9.442, allocations: 387.3 kB / 4.049 GB, free: 141 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/9.443, allocations: 1.031 MB / 4.05 GB, free: 141 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/9.446, allocations: 2.01 MB / 4.052 GB, free: 139.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004095/9.45, allocations: 1.45 MB / 4.054 GB, free: 139.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.529e-05/9.45, allocations: 7.438 kB / 4.054 GB, free: 139.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008468/9.459, allocations: 3.523 MB / 4.057 GB, free: 139.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002615/9.461, allocations: 12.98 MB / 4.07 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-05/9.461, allocations: 33.14 kB / 4.07 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007442/9.462, allocations: 340.4 kB / 4.07 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/9.465, allocations: 0.5682 MB / 4.071 GB, free: 125.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/9.469, allocations: 6.009 MB / 4.077 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/9.473, allocations: 196.2 kB / 4.077 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/9.473, allocations: 210.7 kB / 4.077 GB, free: 121 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.473, allocations: 3.969 kB / 4.077 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005389/9.479, allocations: 2.643 MB / 4.08 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-05/9.479, allocations: 27.59 kB / 4.08 GB, free: 121 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006333/9.479, allocations: 332.3 kB / 4.08 GB, free: 120.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/9.481, allocations: 0.6126 MB / 4.081 GB, free: 120.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/9.483, allocations: 2.569 MB / 4.083 GB, free: 118.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003458/9.487, allocations: 178.7 kB / 4.083 GB, free: 118.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/9.487, allocations: 207.2 kB / 4.084 GB, free: 118.8 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007405/9.488, allocations: 183.9 kB / 4.084 GB, free: 118.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/9.489, allocations: 401 kB / 4.084 GB, free: 118.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/9.495, allocations: 2.497 MB / 4.087 GB, free: 118.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/9.495, allocations: 17.83 kB / 4.087 GB, free: 118.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/9.495, allocations: 9.641 kB / 4.087 GB, free: 118.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/9.495, allocations: 7 kB / 4.087 GB, free: 118.3 MB / 1.198 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.01334/9.509, allocations: 5.627 MB / 4.092 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/9.509, allocations: 3.953 kB / 4.092 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/9.51, allocations: 264.6 kB / 4.092 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/9.511, allocations: 363.8 kB / 4.093 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/9.511, allocations: 33.39 kB / 4.093 GB, free: 117.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/9.513, allocations: 4.984 MB / 4.098 GB, free: 113.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/9.513, allocations: 2.5 kB / 4.098 GB, free: 113.5 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/9.519, allocations: 2.469 MB / 4.1 GB, free: 112.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/9.521, allocations: 0.8933 MB / 4.101 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/9.522, allocations: 3.969 kB / 4.101 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/9.525, allocations: 187.2 kB / 4.101 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/9.526, allocations: 79.44 kB / 4.101 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/9.526, allocations: 74 kB / 4.101 GB, free: 112.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006881/9.533, allocations: 3.418 MB / 4.104 GB, free: 112.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.9e-07/9.533, allocations: 0 / 4.104 GB, free: 112.4 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01092/9.544, allocations: 1.857 MB / 4.106 GB, free: 112.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003974/9.548, allocations: 2.015 MB / 4.108 GB, free: 111.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007332/9.555, allocations: 3.89 MB / 4.112 GB, free: 111.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/9.555, allocations: 6.625 kB / 4.112 GB, free: 111.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/9.556, allocations: 0.7891 MB / 4.113 GB, free: 111.8 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008934/9.565, allocations: 1.915 MB / 4.115 GB, free: 111.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/9.577, allocations: 5.379 MB / 4.12 GB, free: 110.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003312/9.581, allocations: 2.613 MB / 4.123 GB, free: 109.6 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.009429/9.59, allocations: 2.08 MB / 4.125 GB, free: 109.6 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/9.591, allocations: 236.6 kB / 4.125 GB, free: 109.6 MB / 1.198 GB Notification: Performance of SimCode: time 8.22e-07/9.591, allocations: 0 / 4.125 GB, free: 109.6 MB / 1.198 GB Notification: Performance of Templates: time 0.1392/9.73, allocations: 94.83 MB / 4.217 GB, free: 104.8 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches