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.005576/0.005576, allocations: 100.3 kB / 15.73 MB, free: 5.961 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.001295/0.001295, allocations: 193.4 kB / 16.67 MB, free: 5.883 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.547/2.547, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9153, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002198/0.9175, allocations: 1.287 MB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.9183, allocations: 0.5724 MB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.9184, allocations: 4 kB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.9184, allocations: 3.984 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.9184, allocations: 7.922 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.9188, allocations: 87.58 kB / 1.223 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.9188, allocations: 23.86 kB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.9189, allocations: 7.938 kB / 1.223 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.9189, allocations: 4 kB / 1.223 GB, free: 124 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.919, allocations: 4 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.919, allocations: 0 / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.9192, allocations: 151.8 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.9192, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.9193, allocations: 11.92 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.9195, allocations: 95.06 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9195, allocations: 4 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9195, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.9195, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9512 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.0005251/0.92, allocations: 340.5 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 9.6e-05/0.9201, allocations: 12.62 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004896/0.9206, allocations: 28.89 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.9207, allocations: 168.3 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.9207, allocations: 384 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.9207, allocations: 384 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.9209, allocations: 54.16 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.9209, allocations: 192 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.921, allocations: 7.938 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.921, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.9211, allocations: 19.98 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.9212, allocations: 157.6 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.9214, allocations: 46.58 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.9215, allocations: 16.91 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.9215, allocations: 4 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.9215, allocations: 34.5 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9215, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003205/0.9218, allocations: 77.69 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.9219, allocations: 51.41 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.9219, allocations: 101.8 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.9219, allocations: 29.69 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.922, allocations: 84.08 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.922, allocations: 3.953 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.922, allocations: 13.72 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.9222, allocations: 322.9 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.9222, allocations: 8 kB / 1.224 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.9223, allocations: 11.98 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.9224, allocations: 36.77 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9224, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001645/0.9226, allocations: 61.73 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9226, allocations: 8 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9226, allocations: 4.125 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.9226, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.9227, allocations: 7.984 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9227, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.9228, allocations: 7.984 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.9228, allocations: 4.031 kB / 1.224 GB, free: 13.95 MB / 0.9512 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 6.895e-05/0.9229, allocations: 106.4 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.9229, allocations: 7.953 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.993e-05/0.9229, allocations: 15.05 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.9229, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9229, allocations: 3.938 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9229, allocations: 0 / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.923, allocations: 153.7 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.923, allocations: 4 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.9231, allocations: 11.98 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9231, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.9231, allocations: 7.938 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9231, allocations: 0 / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9231, allocations: 0 / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.9233, allocations: 89.09 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.9234, allocations: 77.11 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.9234, allocations: 3.938 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.9235, allocations: 7.984 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.9235, allocations: 3.938 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.9235, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.9235, allocations: 79.28 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9235, allocations: 0 / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002139/0.9238, allocations: 23.91 kB / 1.225 GB, free: 13.27 MB / 0.9512 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.0001622/0.9239, allocations: 115.2 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.9241, allocations: 31.91 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9241, allocations: 0 / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.9242, allocations: 16.05 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.9244, allocations: 15.97 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.9248, allocations: 117.3 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.925, allocations: 0.6729 MB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.954e-05/0.925, allocations: 12.06 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.9251, allocations: 15.42 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.9251, allocations: 0 / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of Templates: time 0.002851/0.9279, allocations: 0.7357 MB / 1.227 GB, free: 11.5 MB / 0.9512 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=480 -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/jenkins/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