Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00166/0.00166, allocations: 101.9 kB / 16.4 MB, free: 6.406 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.001827/0.001827, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8175, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002206/0.8198, allocations: 1.289 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.8207, allocations: 0.5674 MB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.8207, allocations: 0 / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.8207, allocations: 5.156 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.8208, allocations: 5.953 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.8212, allocations: 94 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.439e-05/0.8213, allocations: 23.17 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.8213, allocations: 1.797 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.839e-05/0.8214, allocations: 5.438 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.918e-05/0.8214, allocations: 12.91 kB / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.8214, allocations: 0 / 1.091 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.8217, allocations: 141.8 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.8217, allocations: 0.75 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.8218, allocations: 9.578 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.822, allocations: 91.34 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.822, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.342e-06/0.822, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.822, allocations: 1.406 kB / 1.091 GB, free: 4.098 MB / 0.8575 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.0003137/0.8223, allocations: 343.7 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8224, allocations: 13.38 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.8228, allocations: 27.17 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.8229, allocations: 178.8 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.8229, allocations: 384 / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.8229, allocations: 5.469 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.8231, allocations: 53.05 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8231, allocations: 4.188 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.8231, allocations: 3.938 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8231, allocations: 5.25 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.8232, allocations: 22.55 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.8234, allocations: 157.5 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.8235, allocations: 47.67 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.8236, allocations: 19.09 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.8236, allocations: 0.5156 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.8237, allocations: 32.23 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8237, allocations: 0 / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002851/0.824, allocations: 76.23 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.824, allocations: 56.5 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.824, allocations: 99.66 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.8241, allocations: 25.7 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.8241, allocations: 81.98 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.8241, allocations: 4.656 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.8241, allocations: 20.17 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.8242, allocations: 315.6 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.8243, allocations: 9.828 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.8243, allocations: 14.94 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.8244, allocations: 30.38 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8245, allocations: 0 / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001598/0.8246, allocations: 60.3 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8246, allocations: 5.219 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8247, allocations: 9.125 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8247, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.8248, allocations: 8.391 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.8248, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.8248, allocations: 7.891 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.8249, allocations: 1.984 kB / 1.092 GB, free: 2.438 MB / 0.8575 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 4.8e-05/0.8249, allocations: 107.9 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.8249, allocations: 5 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.825, allocations: 9.562 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.825, allocations: 1.188 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.825, allocations: 0 / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.825, allocations: 4 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.355e-05/0.8251, allocations: 155.7 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8251, allocations: 3.938 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.8252, allocations: 8.906 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8252, allocations: 0 / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.8252, allocations: 6.188 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8252, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8252, allocations: 1.297 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.8254, allocations: 92.38 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.8254, allocations: 85.55 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.8255, allocations: 5.578 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.8255, allocations: 2.859 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.8256, allocations: 5.609 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.8256, allocations: 2.375 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.8256, allocations: 82.27 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8256, allocations: 0.9062 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002072/0.8258, allocations: 10.88 kB / 1.093 GB, free: 1.844 MB / 0.8575 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.0001525/0.826, allocations: 115.8 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.8262, allocations: 31.62 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8262, allocations: 4.062 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.8262, allocations: 17.19 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8265, allocations: 8.562 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.8268, allocations: 130 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.8269, allocations: 0.6738 MB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.827, allocations: 17.34 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.827, allocations: 0 / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of Templates: time 0.002496/0.8295, allocations: 0.7923 MB / 1.095 GB, free: 0.8359 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches