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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2809, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002417/0.2834, allocations: 1.281 MB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.2843, allocations: 0.5803 MB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.2843, allocations: 3.938 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.2843, allocations: 0 / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.565e-05/0.2844, allocations: 3.938 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.2848, allocations: 95.55 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.2849, allocations: 27.81 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.285, allocations: 0 / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.285, allocations: 4 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.2851, allocations: 8 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.2851, allocations: 0 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2854, allocations: 143.8 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.2854, allocations: 3.938 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.2854, allocations: 11.98 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.2856, allocations: 96 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2856, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2856, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2857, allocations: 0 / 1.055 GB, free: 6.047 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.0003481/0.286, allocations: 339.5 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2861, allocations: 16.62 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.2861, allocations: 30.75 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.2865, allocations: 32.89 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.2866, allocations: 164.3 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2867, allocations: 384 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2867, allocations: 384 / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2868, allocations: 54.22 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.2868, allocations: 3.938 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2869, allocations: 7.984 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2869, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.287, allocations: 23.92 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.2872, allocations: 161.5 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2873, allocations: 46.55 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.2874, allocations: 20.84 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2874, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2875, allocations: 34.56 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2875, allocations: 0 / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002955/0.2878, allocations: 77.53 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2878, allocations: 55.41 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.2879, allocations: 97.84 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2879, allocations: 25.7 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.2879, allocations: 80.14 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.288, allocations: 15.89 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.288, allocations: 17.78 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.2881, allocations: 322.8 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.2882, allocations: 8 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.2883, allocations: 11.98 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2884, allocations: 36.89 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2884, allocations: 0 / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.2886, allocations: 61.61 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2886, allocations: 7.938 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2886, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2886, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2887, allocations: 7.984 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2887, allocations: 8.031 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.2888, allocations: 3.938 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.2888, allocations: 0 / 1.057 GB, free: 4.074 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 6.997e-05/0.2889, allocations: 113.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.2889, allocations: 7.922 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.289, allocations: 3.125 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.289, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.289, allocations: 8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.289, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2891, allocations: 153.7 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2891, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.2892, allocations: 7.984 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2892, allocations: 3.938 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2892, allocations: 0 / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.2892, allocations: 11.88 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2892, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2894, allocations: 93 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.2895, allocations: 81.11 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2895, allocations: 7.922 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.2896, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.2896, allocations: 4 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.2896, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.101e-05/0.2897, allocations: 83.31 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2897, allocations: 4 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001985/0.2899, allocations: 11.98 kB / 1.057 GB, free: 3.398 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.0004788/0.2903, allocations: 0.6358 MB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.2905, allocations: 31.91 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2905, allocations: 0 / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.2906, allocations: 15.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2908, allocations: 4.125 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.2913, allocations: 152.1 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.2915, allocations: 0.6768 MB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.423e-05/0.2916, allocations: 8.328 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.2916, allocations: 19.42 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2916, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.3094, allocations: 1.563 MB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.505, allocations: 4 kB / 1.06 GB, free: 336 kB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > 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