Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.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.MoverParameter,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.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,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.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001065/0.001065, allocations: 172.9 kB / 487.4 MB, free: 5.051 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.353/1.353, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009095/0.0009097, allocations: 95.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.829e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2651, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.295, allocations: 440 MB / 1.636 GB, free: 14.73 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.296, allocations: 90.2 kB / 1.636 GB, free: 14.68 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.248/5.544, allocations: 1.44 GB / 3.076 GB, free: 3.961 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.393e-06/5.544, allocations: 0 / 3.076 GB, free: 3.961 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005495/5.544, allocations: 104 kB / 3.076 GB, free: 3.859 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.6376/6.182, allocations: 3.815 MB / 3.08 GB, free: 149.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/6.182, allocations: 12.28 kB / 3.08 GB, free: 149.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009626/6.191, allocations: 1.513 MB / 3.081 GB, free: 149.7 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06287/6.254, allocations: 31.49 MB / 3.112 GB, free: 148.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/6.255, allocations: 65.31 kB / 3.112 GB, free: 148.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007172/6.255, allocations: 136.7 kB / 3.112 GB, free: 148.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003798/6.259, allocations: 2.152 MB / 3.114 GB, free: 148.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/6.263, allocations: 2.364 MB / 3.117 GB, free: 148 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/6.263, allocations: 3.812 kB / 3.117 GB, free: 148 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/6.263, allocations: 6.906 kB / 3.117 GB, free: 148 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/6.263, allocations: 45.75 kB / 3.117 GB, free: 148 MB / 1.182 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.01744/6.28, allocations: 12.57 MB / 3.129 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/6.283, allocations: 1.895 MB / 3.131 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/6.284, allocations: 0.8688 MB / 3.132 GB, free: 143.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007975/6.292, allocations: 5.725 MB / 3.137 GB, free: 141.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/6.292, allocations: 46.52 kB / 3.137 GB, free: 141.6 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001465/6.293, allocations: 148.8 kB / 3.137 GB, free: 141.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/6.293, allocations: 0 / 3.137 GB, free: 141.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=73): time 0.005736/6.299, allocations: 2.425 MB / 3.14 GB, free: 141.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/6.299, allocations: 65.59 kB / 3.14 GB, free: 141.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008073/6.307, allocations: 4.619 MB / 3.144 GB, free: 140.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004939/6.308, allocations: 29.02 kB / 3.144 GB, free: 140.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/6.309, allocations: 2.073 MB / 3.146 GB, free: 140.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/6.31, allocations: 253.5 kB / 3.147 GB, free: 140.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/6.31, allocations: 4 kB / 3.147 GB, free: 140.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001311/6.31, allocations: 383.5 kB / 3.147 GB, free: 140 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/6.311, allocations: 0.9934 MB / 3.148 GB, free: 140 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/6.313, allocations: 2.049 MB / 3.15 GB, free: 138.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/6.316, allocations: 1.422 MB / 3.151 GB, free: 138.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/6.316, allocations: 7.156 kB / 3.151 GB, free: 138.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.006635/6.322, allocations: 3.561 MB / 3.155 GB, free: 138.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.00223/6.325, allocations: 14.3 MB / 3.169 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/6.325, allocations: 30.56 kB / 3.169 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/6.325, allocations: 305.5 kB / 3.169 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/6.328, allocations: 0.5559 MB / 3.17 GB, free: 122.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/6.332, allocations: 5.974 MB / 3.176 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/6.335, allocations: 197.9 kB / 3.176 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/6.335, allocations: 218.5 kB / 3.176 GB, free: 118.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/6.335, allocations: 9.453 kB / 3.176 GB, free: 118.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005761/6.341, allocations: 2.755 MB / 3.179 GB, free: 118.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/6.341, allocations: 30.97 kB / 3.179 GB, free: 118.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/6.342, allocations: 293.6 kB / 3.179 GB, free: 118.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/6.344, allocations: 0.6109 MB / 3.18 GB, free: 118.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/6.345, allocations: 2.519 MB / 3.182 GB, free: 116.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/6.348, allocations: 176.2 kB / 3.182 GB, free: 116.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/6.348, allocations: 206.3 kB / 3.182 GB, free: 116.3 MB / 1.182 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 200 * 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 3,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000568/6.349, allocations: 194.9 kB / 3.183 GB, free: 116.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009394/6.35, allocations: 387.8 kB / 3.183 GB, free: 116 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004935/6.354, allocations: 2.354 MB / 3.185 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/6.355, allocations: 14.28 kB / 3.185 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/6.355, allocations: 0 / 3.185 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/6.355, allocations: 7.547 kB / 3.185 GB, free: 115.8 MB / 1.182 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.00904/6.364, allocations: 5.353 MB / 3.191 GB, free: 115.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/6.364, allocations: 0 / 3.191 GB, free: 115.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000973/6.365, allocations: 208.2 kB / 3.191 GB, free: 115.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005662/6.365, allocations: 335 kB / 3.191 GB, free: 115.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/6.365, allocations: 25.25 kB / 3.191 GB, free: 115.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/6.367, allocations: 4.938 MB / 3.196 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/6.367, allocations: 6.406 kB / 3.196 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/6.371, allocations: 2.25 MB / 3.198 GB, free: 110.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/6.373, allocations: 0.8809 MB / 3.199 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/6.373, allocations: 1.594 kB / 3.199 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/6.375, allocations: 157.7 kB / 3.199 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/6.375, allocations: 69.09 kB / 3.199 GB, free: 110 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/6.375, allocations: 72.84 kB / 3.199 GB, free: 110 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004143/6.379, allocations: 3.447 MB / 3.203 GB, free: 109.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.61e-07/6.379, allocations: 2.5 kB / 3.203 GB, free: 109.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005195/6.384, allocations: 1.833 MB / 3.204 GB, free: 109.8 MB / 1.182 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 (81): * Single equations (assignments): 63 * 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 3,1 4,1 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002503/6.387, allocations: 2.012 MB / 3.206 GB, free: 109.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005345/6.392, allocations: 3.784 MB / 3.21 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/6.392, allocations: 0.75 kB / 3.21 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009904/6.393, allocations: 0.7034 MB / 3.211 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00649/6.4, allocations: 1.908 MB / 3.213 GB, free: 109.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008642/6.408, allocations: 5.288 MB / 3.218 GB, free: 107.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/6.41, allocations: 2.59 MB / 3.22 GB, free: 107.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.007381/6.418, allocations: 2.078 MB / 3.222 GB, free: 107.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/6.418, allocations: 217.2 kB / 3.223 GB, free: 107.1 MB / 1.182 GB Notification: Performance of SimCode: time 8.62e-07/6.418, allocations: 0 / 3.223 GB, free: 107.1 MB / 1.182 GB Notification: Performance of Templates: time 0.1226/6.541, allocations: 93.04 MB / 3.313 GB, free: 102.1 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverParameter.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches