Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pSat",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001152/0.001152, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 67.45 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002817/0.3352, allocations: 1.276 MB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3362, allocations: 0.5725 MB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.3363, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.3363, allocations: 7.938 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3364, allocations: 7.875 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.3369, allocations: 91.52 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.3369, allocations: 27.84 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.337, allocations: 4 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.337, allocations: 4 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3371, allocations: 4 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3371, allocations: 3.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.3374, allocations: 143.8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3375, allocations: 8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.3375, allocations: 7.984 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.3377, allocations: 92 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3378, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3378, allocations: 4 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3378, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004448/0.3382, allocations: 339.5 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3383, allocations: 8.031 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.3387, allocations: 32.89 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3389, allocations: 172.3 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3389, allocations: 384 / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3389, allocations: 384 / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.3391, allocations: 46.23 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3391, allocations: 4.172 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3391, allocations: 3.938 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3391, allocations: 4 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3393, allocations: 19.98 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.3395, allocations: 161.5 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3396, allocations: 42.58 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.3397, allocations: 24.91 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3397, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3398, allocations: 30.56 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3398, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.3401, allocations: 81.62 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3402, allocations: 51.41 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.3403, allocations: 101.9 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3403, allocations: 25.7 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3403, allocations: 84.12 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3404, allocations: 3.906 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3404, allocations: 13.72 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3405, allocations: 318.8 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.3406, allocations: 12.03 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.3407, allocations: 15.98 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3408, allocations: 24.84 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3408, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.341, allocations: 73.59 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.341, allocations: 10.34 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3411, allocations: 3.938 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3411, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3412, allocations: 7.984 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3412, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.117e-05/0.3413, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3413, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 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.681e-05/0.3414, allocations: 113.8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.3414, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.3415, allocations: 15.05 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3415, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3415, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3415, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.3416, allocations: 157.7 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3416, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.3417, allocations: 15.98 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3417, allocations: 3.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.3417, allocations: 3.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3417, allocations: 4 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3417, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.3419, allocations: 96.94 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.342, allocations: 77.11 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.342, allocations: 7.938 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.3421, allocations: 3.984 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.3421, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3421, allocations: 4 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.3422, allocations: 79.45 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3422, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002087/0.3424, allocations: 16 kB / 1.069 GB, free: 10.14 MB / 0.8419 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.0001806/0.3426, allocations: 115.8 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3428, allocations: 31.91 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3428, allocations: 0 / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.3429, allocations: 11.98 kB / 1.069 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3432, allocations: 17.8 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.3436, allocations: 140.3 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3438, allocations: 0.669 MB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3439, allocations: 19.36 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3439, allocations: 0 / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of Templates: time 0.002409/0.3463, allocations: 0.7822 MB / 1.07 GB, free: 8.289 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches