Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001765/0.001765, allocations: 182.7 kB / 498.1 MB, free: 5.746 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.731/1.731, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 90.38 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005125, allocations: 9 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4271, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.53/1.957, allocations: 390.6 MB / 1.604 GB, free: 5.094 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/1.958, allocations: 89.64 kB / 1.604 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5604/2.518, allocations: 257.4 MB / 1.856 GB, free: 1.316 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/2.518, allocations: 4 kB / 1.856 GB, free: 1.312 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.83e-05/2.518, allocations: 12 kB / 1.856 GB, free: 1.301 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002051/2.52, allocations: 0.9344 MB / 1.857 GB, free: 324 kB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/2.52, allocations: 16.02 kB / 1.857 GB, free: 308 kB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/2.52, allocations: 67.2 kB / 1.857 GB, free: 240 kB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/2.521, allocations: 471.5 kB / 1.857 GB, free: 15.73 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/2.521, allocations: 24.66 kB / 1.857 GB, free: 15.71 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/2.521, allocations: 36 kB / 1.857 GB, free: 15.68 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/2.522, allocations: 306 kB / 1.858 GB, free: 15.37 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/2.522, allocations: 4 kB / 1.858 GB, free: 15.36 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/2.522, allocations: 12 kB / 1.858 GB, free: 15.35 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/2.522, allocations: 8 kB / 1.858 GB, free: 15.34 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/2.523, allocations: 278.3 kB / 1.858 GB, free: 15.07 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.002241/2.525, allocations: 1.321 MB / 1.859 GB, free: 13.63 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/2.526, allocations: 286 kB / 1.859 GB, free: 13.35 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/2.526, allocations: 0.4986 MB / 1.86 GB, free: 12.74 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/2.526, allocations: 34.56 kB / 1.86 GB, free: 12.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.855e-06/2.526, allocations: 4 kB / 1.86 GB, free: 12.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.00176/2.528, allocations: 0.5772 MB / 1.861 GB, free: 12.09 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/2.528, allocations: 59.36 kB / 1.861 GB, free: 12.02 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/2.529, allocations: 397.4 kB / 1.861 GB, free: 11.62 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/2.529, allocations: 37.7 kB / 1.861 GB, free: 11.57 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/2.529, allocations: 248.7 kB / 1.861 GB, free: 11.33 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/2.529, allocations: 90.73 kB / 1.861 GB, free: 11.24 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/2.529, allocations: 4.219 kB / 1.861 GB, free: 11.23 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001991/2.529, allocations: 358.8 kB / 1.862 GB, free: 10.88 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/2.529, allocations: 119.9 kB / 1.862 GB, free: 10.76 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/2.53, allocations: 225.9 kB / 1.862 GB, free: 10.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/2.53, allocations: 142.7 kB / 1.862 GB, free: 10.36 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.53, allocations: 0 / 1.862 GB, free: 10.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000913/2.531, allocations: 413.2 kB / 1.863 GB, free: 9.949 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000164/2.531, allocations: 270.9 kB / 1.863 GB, free: 9.664 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.531, allocations: 0 / 1.863 GB, free: 9.664 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/2.532, allocations: 60.75 kB / 1.863 GB, free: 9.602 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/2.532, allocations: 71.89 kB / 1.863 GB, free: 9.531 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004636/2.532, allocations: 0.5641 MB / 1.863 GB, free: 8.941 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/2.533, allocations: 67.7 kB / 1.864 GB, free: 8.875 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/2.533, allocations: 19.98 kB / 1.864 GB, free: 8.855 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/2.533, allocations: 8 kB / 1.864 GB, free: 8.848 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006797/2.534, allocations: 313.1 kB / 1.864 GB, free: 8.543 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/2.534, allocations: 0 / 1.864 GB, free: 8.543 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/2.534, allocations: 4 kB / 1.864 GB, free: 8.539 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/2.534, allocations: 83.89 kB / 1.864 GB, free: 8.457 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/2.534, allocations: 3.984 kB / 1.864 GB, free: 8.453 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/2.535, allocations: 63.7 kB / 1.864 GB, free: 8.391 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/2.535, allocations: 23.92 kB / 1.864 GB, free: 8.367 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003461/2.535, allocations: 250.2 kB / 1.864 GB, free: 8.113 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/2.535, allocations: 51.34 kB / 1.864 GB, free: 8.062 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/2.536, allocations: 427.9 kB / 1.865 GB, free: 7.633 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/2.536, allocations: 8 kB / 1.865 GB, free: 7.625 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/2.536, allocations: 3.938 kB / 1.865 GB, free: 7.621 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/2.536, allocations: 3.984 kB / 1.865 GB, free: 7.617 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/2.538, allocations: 0.9437 MB / 1.866 GB, free: 6.605 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/2.538, allocations: 0 / 1.866 GB, free: 6.605 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/2.538, allocations: 56.03 kB / 1.866 GB, free: 6.551 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/2.538, allocations: 52.8 kB / 1.866 GB, free: 6.496 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/2.538, allocations: 8 kB / 1.866 GB, free: 6.488 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003985/2.539, allocations: 0.5601 MB / 1.866 GB, free: 5.902 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.539, allocations: 4.031 kB / 1.866 GB, free: 5.898 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/2.54, allocations: 0.5486 MB / 1.867 GB, free: 5.293 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/2.54, allocations: 160.3 kB / 1.867 GB, free: 5.117 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/2.54, allocations: 8 kB / 1.867 GB, free: 5.109 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/2.54, allocations: 47.94 kB / 1.867 GB, free: 5.062 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/2.54, allocations: 23.97 kB / 1.867 GB, free: 5.039 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/2.54, allocations: 15.95 kB / 1.867 GB, free: 5.023 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003898/2.541, allocations: 314.9 kB / 1.867 GB, free: 4.719 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/2.541, allocations: 0 / 1.867 GB, free: 4.719 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00113/2.542, allocations: 275.6 kB / 1.868 GB, free: 4.449 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008788/2.543, allocations: 373.1 kB / 1.868 GB, free: 4.078 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001288/2.544, allocations: 485.2 kB / 1.868 GB, free: 3.602 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.544, allocations: 0 / 1.868 GB, free: 3.602 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004017/2.545, allocations: 172 kB / 1.869 GB, free: 3.434 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/2.546, allocations: 253.5 kB / 1.869 GB, free: 3.191 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/2.548, allocations: 0.977 MB / 1.87 GB, free: 2.176 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/2.548, allocations: 0.8669 MB / 1.871 GB, free: 1.281 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005055/2.549, allocations: 128.3 kB / 1.871 GB, free: 1.156 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/2.549, allocations: 39.44 kB / 1.871 GB, free: 1.117 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/2.549, allocations: 0 / 1.871 GB, free: 1.117 MB / 1.167 GB Notification: Performance of Templates: time 0.8782/3.427, allocations: 11.01 MB / 1.882 GB, free: 361.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches