Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009818/0.0009821, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.798/2.798, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9855/0.9859, allocations: 153.7 MB / 1.021 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001611/0.9875, allocations: 1.125 MB / 1.022 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004551/0.988, allocations: 183.7 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.988, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.9881, allocations: 3.938 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.9881, allocations: 3.984 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.9884, allocations: 27.89 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.9885, allocations: 11.98 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.9886, allocations: 8 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.9886, allocations: 11.92 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.9887, allocations: 3.984 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.9887, allocations: 8 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.9888, allocations: 23.98 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.9888, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.9889, allocations: 33.64 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.989, allocations: 26.06 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.989, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.316e-06/0.989, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.989, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004926/0.9895, allocations: 351.2 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9896, allocations: 11.98 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.9897, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.9899, allocations: 163.1 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.9899, allocations: 3.953 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.9899, allocations: 0 / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.9901, allocations: 57.67 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.9901, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.9901, allocations: 3.938 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9902, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.9903, allocations: 47.89 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.9907, allocations: 256.8 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.9909, allocations: 42.5 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.9909, allocations: 4.062 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.9909, allocations: 30.56 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.9909, allocations: 4 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.9913, allocations: 97.58 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.9914, allocations: 55.53 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/0.9915, allocations: 105.8 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.9915, allocations: 25.7 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.9916, allocations: 80.14 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.9916, allocations: 3.906 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.9916, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9918, allocations: 322.8 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.9919, allocations: 23.98 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.992, allocations: 23.98 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.101e-05/0.992, allocations: 19.94 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9921, allocations: 0 / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.9923, allocations: 85.66 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9923, allocations: 8 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9923, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9923, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.9924, allocations: 16.02 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.9924, allocations: 0 / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.9925, allocations: 11.98 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.9925, allocations: 0 / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.9926, allocations: 113.7 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.9927, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.9929, allocations: 88.72 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.993, allocations: 3.984 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.993, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.993, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.9932, allocations: 161.6 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9932, allocations: 3.953 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.483e-05/0.9932, allocations: 15.98 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9933, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.9933, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.9933, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.9933, allocations: 7.938 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.9935, allocations: 171.5 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.9936, allocations: 92.98 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.9936, allocations: 0 / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.9937, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.9938, allocations: 7.984 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.9938, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.9938, allocations: 87.5 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9938, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002096/0.9941, allocations: 8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001227/0.9942, allocations: 95.25 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.9944, allocations: 51.95 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9944, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.9945, allocations: 28.12 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.9947, allocations: 4.547 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.995, allocations: 136.7 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.9953, allocations: 0.677 MB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.9954, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.9954, allocations: 7.438 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.9954, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002508/0.9979, allocations: 406 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches