Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001313/0.001313, allocations: 120.2 kB / 16.81 MB, free: 5.762 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.001206/0.001206, allocations: 195.1 kB / 17.77 MB, free: 5.125 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.652/1.652, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 68.94 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3981, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002686/0.4008, allocations: 1.285 MB / 1.263 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4018, allocations: 0.5767 MB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.4019, allocations: 0 / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.4019, allocations: 0 / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.4019, allocations: 7.922 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.4024, allocations: 95.56 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.4025, allocations: 19.88 kB / 1.264 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.4025, allocations: 7.984 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.4025, allocations: 4 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.4026, allocations: 7.938 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4026, allocations: 0 / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.4029, allocations: 151.7 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.4029, allocations: 4 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.4029, allocations: 7.938 kB / 1.264 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.4032, allocations: 91.77 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4032, allocations: 4 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4032, allocations: 0 / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4032, allocations: 0 / 1.264 GB, free: 10.7 MB / 0.9825 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.0004611/0.4036, allocations: 347.2 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.4037, allocations: 8.625 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.4041, allocations: 28.91 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.4043, allocations: 180.2 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.4043, allocations: 384 / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4043, allocations: 384 / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4045, allocations: 46.23 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4045, allocations: 192 / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4045, allocations: 3.938 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4045, allocations: 3.984 kB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.4046, allocations: 27.97 kB / 1.265 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.4048, allocations: 153.7 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.405, allocations: 46.52 kB / 1.265 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.4051, allocations: 16.91 kB / 1.265 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.4051, allocations: 4 kB / 1.265 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4051, allocations: 34.56 kB / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4051, allocations: 0 / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003165/0.4054, allocations: 69.59 kB / 1.265 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4055, allocations: 55.53 kB / 1.265 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.4055, allocations: 101.9 kB / 1.265 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4056, allocations: 25.7 kB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.4056, allocations: 80.14 kB / 1.265 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.4056, allocations: 7.938 kB / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.4057, allocations: 17.66 kB / 1.265 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4058, allocations: 314.8 kB / 1.266 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.4059, allocations: 11.98 kB / 1.266 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.4059, allocations: 15.98 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4061, allocations: 28.84 kB / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4061, allocations: 0 / 1.266 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.4062, allocations: 57.73 kB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4063, allocations: 12.02 kB / 1.266 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4063, allocations: 0 / 1.266 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4063, allocations: 7.938 kB / 1.266 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.4064, allocations: 4 kB / 1.266 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4064, allocations: 11.81 kB / 1.266 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.4064, allocations: 3.984 kB / 1.266 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.4064, allocations: 4 kB / 1.266 GB, free: 8.777 MB / 0.9825 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.536e-05/0.4065, allocations: 105.8 kB / 1.266 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.4065, allocations: 7.953 kB / 1.266 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.4066, allocations: 15.06 kB / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4066, allocations: 0 / 1.266 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4066, allocations: 3.984 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.4067, allocations: 77.11 kB / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.4067, allocations: 0 / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.4067, allocations: 11.98 kB / 1.266 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.4068, allocations: 4 kB / 1.266 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000256/0.407, allocations: 137 kB / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002582/0.4073, allocations: 238.7 kB / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.56e-05/0.4073, allocations: 11.98 kB / 1.266 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.4074, allocations: 83.28 kB / 1.267 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Backend: time 2e-07/0.4074, allocations: 0 / 1.267 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005711/0.408, allocations: 137 kB / 1.267 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005857/0.4085, allocations: 0.5621 MB / 1.267 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of Templates: time 0.004292/0.4128, allocations: 1.472 MB / 1.269 GB, free: 5.824 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches