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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00112/0.00112, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.008796/0.008796, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.7364 GB, free: 360 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004053/0.0004055, allocations: 12.59 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3824, allocations: 159.6 MB / 1.059 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002085/0.3845, allocations: 1.132 MB / 1.06 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006093/0.3852, allocations: 203.5 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.3852, allocations: 0 / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.3853, allocations: 0 / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.3853, allocations: 7.922 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.3856, allocations: 19.92 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.3857, allocations: 31.86 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.3858, allocations: 4 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.3858, allocations: 11.97 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.363e-05/0.3859, allocations: 11.94 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3859, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.386, allocations: 23.97 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.386, allocations: 4 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.3861, allocations: 33.64 kB / 1.06 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.3862, allocations: 36.22 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3862, allocations: 4 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.205e-06/0.3863, allocations: 0 / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3863, allocations: 0 / 1.06 GB, free: 4.023 MB / 0.8106 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.0005083/0.3868, allocations: 347.4 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3868, allocations: 8.031 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.387, allocations: 4.938 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3871, allocations: 168.3 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3872, allocations: 384 / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.3872, allocations: 8.312 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.3874, allocations: 54.23 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3874, allocations: 192 / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3875, allocations: 11.92 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3875, allocations: 3.938 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.3877, allocations: 43.95 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.3881, allocations: 252.9 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3883, allocations: 50.47 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3884, allocations: 28.91 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3884, allocations: 0 / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3885, allocations: 30.56 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.3885, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004203/0.3889, allocations: 101.6 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3889, allocations: 51.41 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3891, allocations: 105.8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3891, allocations: 25.7 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.3891, allocations: 80.14 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3892, allocations: 8.031 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.3892, allocations: 17.72 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3893, allocations: 310.8 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.3894, allocations: 19.97 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.067e-05/0.3895, allocations: 23.98 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3897, allocations: 48.89 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3897, allocations: 0 / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002358/0.39, allocations: 81.59 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.39, allocations: 8 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.39, allocations: 0 / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.39, allocations: 3.938 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/0.3901, allocations: 11.98 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3901, allocations: 0 / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.3902, allocations: 16.02 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3902, allocations: 3.938 kB / 1.062 GB, free: 1.906 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/0.3903, allocations: 113.8 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3904, allocations: 7.906 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.3906, allocations: 88.77 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3907, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3907, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3907, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3909, allocations: 161.6 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3909, allocations: 0 / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.391, allocations: 15.92 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.391, allocations: 4 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.391, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.391, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.391, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.3913, allocations: 183.4 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.3914, allocations: 81.05 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.3914, allocations: 4 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.3915, allocations: 8 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.3915, allocations: 3.984 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3915, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.3916, allocations: 83.55 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3916, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002183/0.3918, allocations: 8 kB / 1.063 GB, free: 1.055 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001354/0.3919, allocations: 103.2 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3922, allocations: 47.89 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3922, allocations: 8.062 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.3923, allocations: 23.97 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3926, allocations: 7.938 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.393, allocations: 135.9 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3933, allocations: 0.6887 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.3934, allocations: 0 / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3934, allocations: 7.438 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3934, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.00287/0.3963, allocations: 427.4 kB / 1.064 GB, free: 15.56 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches