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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001577/0.001577, allocations: 103.5 kB / 16.35 MB, free: 5.824 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.001745/0.001746, allocations: 192.2 kB / 17.29 MB, free: 5.48 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.37/2.37, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.28 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3428, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.0024/0.3453, allocations: 1.283 MB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.3462, allocations: 0.5718 MB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.3462, allocations: 0 / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.3463, allocations: 3.984 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.3463, allocations: 7.938 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.3467, allocations: 91.52 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.3468, allocations: 27.84 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3468, allocations: 4 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.3469, allocations: 4 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3469, allocations: 4 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3469, allocations: 0 / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.3472, allocations: 143.7 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.3472, allocations: 3.984 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.3473, allocations: 7.984 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3475, allocations: 99.72 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3475, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3475, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3475, allocations: 3.938 kB / 1.029 GB, free: 15.82 MB / 0.8106 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.0003857/0.3479, allocations: 347.5 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3479, allocations: 8.031 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.3484, allocations: 28.89 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3485, allocations: 168.3 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3485, allocations: 384 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3485, allocations: 4.375 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3487, allocations: 54.22 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3487, allocations: 192 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3487, allocations: 3.938 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3487, allocations: 0 / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3488, allocations: 23.92 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.349, allocations: 161.5 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3492, allocations: 46.52 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.588e-05/0.3492, allocations: 20.91 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3493, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3493, allocations: 34.56 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3493, allocations: 8 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002873/0.3496, allocations: 73.53 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3497, allocations: 51.41 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.3497, allocations: 101.8 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3498, allocations: 29.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.3498, allocations: 80.27 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3498, allocations: 7.906 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3499, allocations: 17.72 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.35, allocations: 314.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.35, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.3501, allocations: 15.98 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.3502, allocations: 32.89 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3502, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001719/0.3504, allocations: 65.61 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3504, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3504, allocations: 3.938 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3505, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.3506, allocations: 16.02 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3506, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.3506, allocations: 0 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3507, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 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.088e-05/0.3507, allocations: 113.7 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.3508, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.3508, allocations: 22.98 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3508, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3508, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3508, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.3509, allocations: 157.7 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.351, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.351, allocations: 7.984 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.351, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3511, allocations: 11.88 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3511, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3511, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3513, allocations: 93 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.3513, allocations: 77.11 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3514, allocations: 3.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.3514, allocations: 7.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.3514, allocations: 192 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.3515, allocations: 8.031 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.3515, allocations: 83.27 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001976/0.3517, allocations: 15.98 kB / 1.031 GB, free: 13.2 MB / 0.8106 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.0001633/0.3519, allocations: 111.2 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3521, allocations: 35.91 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3521, allocations: 0 / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.3521, allocations: 15.98 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.3524, allocations: 8.922 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3527, allocations: 106.7 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.353, allocations: 0.6769 MB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.353, allocations: 11.94 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3531, allocations: 11.42 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3531, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002911/0.356, allocations: 0.7372 MB / 1.033 GB, free: 11.44 MB / 0.8106 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 -s cvode -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