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.254/2.254, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001636/0.001636, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.615/1.615, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009076/0.0009071, allocations: 100.2 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.83e-05/4.85e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3531, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.307/1.66, allocations: 390.6 MB / 1.594 GB, free: 7.41 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.66, allocations: 89.45 kB / 1.594 GB, free: 7.363 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.298/2.958, allocations: 256.7 MB / 1.845 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.983e-06/2.958, allocations: 0 / 1.845 GB, free: 357.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.269e-05/2.958, allocations: 18.22 kB / 1.845 GB, free: 357.8 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.001961/2.96, allocations: 0.8365 MB / 1.845 GB, free: 357.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.487e-05/2.961, allocations: 7.469 kB / 1.845 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/2.961, allocations: 65.81 kB / 1.845 GB, free: 357.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/2.962, allocations: 461.5 kB / 1.846 GB, free: 356.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/2.962, allocations: 27.78 kB / 1.846 GB, free: 356.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/2.962, allocations: 38.72 kB / 1.846 GB, free: 356.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/2.962, allocations: 265.5 kB / 1.846 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/2.962, allocations: 3.094 kB / 1.846 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/2.962, allocations: 11.81 kB / 1.846 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/2.962, allocations: 6.438 kB / 1.846 GB, free: 356.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/2.963, allocations: 202.6 kB / 1.846 GB, free: 356.5 MB / 1.151 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.002145/2.965, allocations: 1.338 MB / 1.848 GB, free: 355.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/2.965, allocations: 233.1 kB / 1.848 GB, free: 355.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/2.966, allocations: 105.7 kB / 1.848 GB, free: 355.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004535/2.966, allocations: 0.495 MB / 1.849 GB, free: 354.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/2.966, allocations: 36.62 kB / 1.849 GB, free: 354.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/2.966, allocations: 96 / 1.849 GB, free: 354.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0005986/2.967, allocations: 276.7 kB / 1.849 GB, free: 354.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/2.967, allocations: 59.2 kB / 1.849 GB, free: 354.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/2.967, allocations: 401.3 kB / 1.849 GB, free: 354.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/2.967, allocations: 33.7 kB / 1.849 GB, free: 354.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/2.967, allocations: 246.3 kB / 1.85 GB, free: 353.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/2.968, allocations: 84.8 kB / 1.85 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/2.968, allocations: 4 kB / 1.85 GB, free: 353.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001228/2.968, allocations: 361.3 kB / 1.85 GB, free: 353.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/2.968, allocations: 79.14 kB / 1.85 GB, free: 353.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/2.968, allocations: 184.6 kB / 1.85 GB, free: 353.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/2.968, allocations: 108.7 kB / 1.85 GB, free: 353.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.968, allocations: 0 / 1.85 GB, free: 353.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006499/2.969, allocations: 352.8 kB / 1.851 GB, free: 353 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/2.969, allocations: 274 kB / 1.851 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/2.969, allocations: 0 / 1.851 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/2.969, allocations: 43.17 kB / 1.851 GB, free: 352.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/2.97, allocations: 72.64 kB / 1.851 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003984/2.97, allocations: 0.5562 MB / 1.852 GB, free: 352.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/2.971, allocations: 81.77 kB / 1.852 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/2.971, allocations: 15.77 kB / 1.852 GB, free: 352.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/2.971, allocations: 3.938 kB / 1.852 GB, free: 352.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004092/2.971, allocations: 243.8 kB / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/2.971, allocations: 0 / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/2.971, allocations: 3.781 kB / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/2.972, allocations: 81.52 kB / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/2.972, allocations: 14.52 kB / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/2.972, allocations: 64.42 kB / 1.852 GB, free: 352 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/2.972, allocations: 15.67 kB / 1.852 GB, free: 352 MB / 1.151 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 () * 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.0001168/2.972, allocations: 128 kB / 1.852 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/2.972, allocations: 53.98 kB / 1.852 GB, free: 351.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/2.973, allocations: 359.4 kB / 1.853 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/2.973, allocations: 4 kB / 1.853 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.973, allocations: 3.969 kB / 1.853 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/2.973, allocations: 3.984 kB / 1.853 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/2.974, allocations: 0.8785 MB / 1.853 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.974, allocations: 3.969 kB / 1.853 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/2.974, allocations: 53.88 kB / 1.854 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/2.974, allocations: 43.61 kB / 1.854 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/2.974, allocations: 7.969 kB / 1.854 GB, free: 350.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002523/2.975, allocations: 0.5579 MB / 1.854 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.975, allocations: 3.953 kB / 1.854 GB, free: 350.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/2.975, allocations: 498.5 kB / 1.855 GB, free: 349.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/2.975, allocations: 157.3 kB / 1.855 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/2.975, allocations: 10.83 kB / 1.855 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/2.976, allocations: 44.2 kB / 1.855 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/2.976, allocations: 23.62 kB / 1.855 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/2.976, allocations: 7.312 kB / 1.855 GB, free: 349.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002946/2.976, allocations: 318.9 kB / 1.855 GB, free: 349.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.21e-07/2.976, allocations: 0 / 1.855 GB, free: 349.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008818/2.977, allocations: 279.4 kB / 1.855 GB, free: 349.5 MB / 1.151 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 (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.0006939/2.978, allocations: 371.4 kB / 1.856 GB, free: 349.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007503/2.978, allocations: 406.4 kB / 1.856 GB, free: 349.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/2.979, allocations: 0 / 1.856 GB, free: 349.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/2.979, allocations: 137 kB / 1.856 GB, free: 349.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/2.98, allocations: 253.8 kB / 1.856 GB, free: 349 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/2.981, allocations: 0.5827 MB / 1.857 GB, free: 348.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/2.981, allocations: 0.8647 MB / 1.858 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005286/2.982, allocations: 140.1 kB / 1.858 GB, free: 347.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/2.982, allocations: 38.11 kB / 1.858 GB, free: 347.8 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/2.982, allocations: 4 kB / 1.858 GB, free: 347.8 MB / 1.151 GB Notification: Performance of Templates: time 0.01879/3.001, allocations: 12.21 MB / 1.87 GB, free: 337.2 MB / 1.151 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