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.007283/0.007283, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001571/0.001571, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.12 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002497/0.325, allocations: 1.291 MB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3261, allocations: 0.5724 MB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.3262, allocations: 0 / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.3262, allocations: 0 / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.3263, allocations: 3.938 kB / 1.21 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.3269, allocations: 91.56 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.3269, allocations: 23.81 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.327, allocations: 4 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.3271, allocations: 7.984 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.3271, allocations: 11.98 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.3271, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.3275, allocations: 143.8 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.3275, allocations: 7.922 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.3275, allocations: 7.984 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3278, allocations: 91.78 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3278, allocations: 0 / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3278, allocations: 0 / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3278, allocations: 0 / 1.21 GB, free: 7.41 MB / 0.9669 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.0005156/0.3284, allocations: 347.4 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3284, allocations: 16.03 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004643/0.3289, allocations: 28.89 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3291, allocations: 160.4 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3291, allocations: 384 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3291, allocations: 384 / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3293, allocations: 58.16 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3294, allocations: 192 / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3294, allocations: 7.938 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3294, allocations: 0 / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3295, allocations: 19.98 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.3298, allocations: 165.5 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.33, allocations: 38.56 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.33, allocations: 20.91 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3301, allocations: 0 / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3301, allocations: 38.44 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.3301, allocations: 0 / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.3305, allocations: 81.53 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.3305, allocations: 51.41 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.3306, allocations: 97.84 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3306, allocations: 29.7 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.3307, allocations: 80.14 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.3307, allocations: 7.906 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.3308, allocations: 17.83 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3309, allocations: 318.8 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.331, allocations: 7.984 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.331, allocations: 15.94 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3312, allocations: 28.89 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3312, allocations: 4 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.3314, allocations: 61.67 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3314, allocations: 4 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3314, allocations: 3.938 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3314, allocations: 0 / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3315, allocations: 11.98 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.3315, allocations: 0 / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.3316, allocations: 7.969 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3316, allocations: 0 / 1.212 GB, free: 5.488 MB / 0.9669 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 7.568e-05/0.3317, allocations: 117.8 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.3317, allocations: 3.906 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.3318, allocations: 7.062 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3318, allocations: 4.188 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3318, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3318, allocations: 7.984 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.3319, allocations: 153.7 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3319, allocations: 0 / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.332, allocations: 7.984 kB / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.332, allocations: 0 / 1.212 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3321, allocations: 3.938 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3321, allocations: 8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3321, allocations: 3.984 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3323, allocations: 85.09 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.3324, allocations: 85.11 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3324, allocations: 11.86 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.3325, allocations: 0 / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.3325, allocations: 7.938 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.3325, allocations: 3.938 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.092e-05/0.3325, allocations: 87.3 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3326, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002135/0.3328, allocations: 12 kB / 1.212 GB, free: 4.797 MB / 0.9669 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.0001852/0.333, allocations: 111.2 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3332, allocations: 27.98 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3332, allocations: 0 / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.3333, allocations: 24.03 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.3335, allocations: 8 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.334, allocations: 111 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3343, allocations: 0.6767 MB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.49e-05/0.3344, allocations: 12.06 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.3344, allocations: 11.42 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.3344, allocations: 0 / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of Templates: time 0.003305/0.3377, allocations: 0.7499 MB / 1.214 GB, free: 3.023 MB / 0.9669 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/jenkins/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