Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0096/0.0096, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.002341/0.002341, allocations: 193.7 kB / 16.67 MB, free: 5.926 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9932/0.9946, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002806/0.9975, allocations: 1.409 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.9985, allocations: 0.5882 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.9986, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.9986, allocations: 7.875 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.9987, allocations: 3.938 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.9992, allocations: 99.56 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.9993, allocations: 23.92 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9994, allocations: 11.98 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.9995, allocations: 15.92 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.9995, allocations: 11.94 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.9995, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.9998, allocations: 139.8 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.9999, allocations: 7.969 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.9999, allocations: 11.94 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/1, allocations: 103.6 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/1, allocations: 3.938 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.162e-06/1, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 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.0005669/1.001, allocations: 365.2 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/1.001, allocations: 8.031 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/1.001, allocations: 24.91 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.001, allocations: 164.4 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.001, allocations: 384 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/1.001, allocations: 384 / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/1.002, allocations: 74.19 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.002, allocations: 4.125 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.002, allocations: 7.938 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.002, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/1.002, allocations: 51.94 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/1.003, allocations: 261 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/1.003, allocations: 62.47 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.003, allocations: 36.89 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/1.003, allocations: 4 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.003, allocations: 34.5 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.003, allocations: 0 / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005163/1.004, allocations: 117.6 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/1.004, allocations: 51.41 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.004, allocations: 102 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.004, allocations: 25.7 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.004, allocations: 84.12 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.004, allocations: 7.906 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/1.004, allocations: 17.72 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.004, allocations: 318.9 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/1.004, allocations: 27.97 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.004, allocations: 27.86 kB / 1.212 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/1.005, allocations: 68.8 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.005, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002906/1.005, allocations: 89.58 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.005, allocations: 7.984 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.005, allocations: 4.047 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.005, allocations: 8.016 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/1.005, allocations: 11.98 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.005, allocations: 0 / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.696e-05/1.005, allocations: 7.984 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/1.005, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 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 9.326e-05/1.005, allocations: 117.7 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/1.005, allocations: 4 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/1.005, allocations: 11.11 kB / 1.212 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.005, allocations: 4 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.005, allocations: 0 / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/1.005, allocations: 0 / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/1.006, allocations: 165.6 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.006, allocations: 0 / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.006, allocations: 15.98 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.006, allocations: 4 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/1.006, allocations: 7.984 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.006, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.006, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/1.006, allocations: 179.3 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/1.006, allocations: 89.08 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/1.006, allocations: 7.984 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.006, allocations: 4 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.006, allocations: 7.922 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/1.006, allocations: 4 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.44e-05/1.006, allocations: 75.28 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.006, allocations: 4 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002548/1.007, allocations: 8 kB / 1.213 GB, free: 8.074 MB / 0.9356 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 (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 Backend phase and start with SimCode phase: time 0.0002186/1.007, allocations: 119.2 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003145/1.007, allocations: 59.88 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.007, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/1.007, allocations: 36.02 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/1.008, allocations: 3.938 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/1.008, allocations: 138.5 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.008, allocations: 0.6768 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.567e-05/1.009, allocations: 12.06 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/1.009, allocations: 11.42 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of SimCode: time 1.9e-07/1.009, allocations: 0 / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of Templates: time 0.003255/1.012, allocations: 0.7754 MB / 1.215 GB, free: 6.188 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches