Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_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.001586/0.001586, allocations: 108 kB / 15.6 MB, free: 132 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.001743/0.001743, allocations: 190.5 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.894/2.894, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 68.58 kB / 0.9086 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2868, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002368/0.2892, allocations: 1.419 MB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.2901, allocations: 0.586 MB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.2901, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.2901, allocations: 7.922 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.2902, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2905, allocations: 95.56 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.2906, allocations: 35.8 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.2907, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.2907, allocations: 11.98 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.2908, allocations: 19.92 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2908, allocations: 4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.291, allocations: 135.8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2911, allocations: 7.984 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.2911, allocations: 15.94 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2913, allocations: 92.05 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2913, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2913, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2913, allocations: 4 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004272/0.2917, allocations: 359.4 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2918, allocations: 12.03 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.2918, allocations: 34.75 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.2922, allocations: 28.81 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2923, allocations: 164.4 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2923, allocations: 384 / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2924, allocations: 4.375 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.2926, allocations: 70.2 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2926, allocations: 3.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2926, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2926, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.2929, allocations: 51.94 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.2933, allocations: 280.8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2935, allocations: 62.41 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.2937, allocations: 36.89 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2937, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2937, allocations: 30.56 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2937, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004735/0.2942, allocations: 121.5 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.2942, allocations: 51.41 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.2943, allocations: 105.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2944, allocations: 29.64 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.2944, allocations: 84.12 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2944, allocations: 7.906 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2945, allocations: 17.83 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2946, allocations: 318.8 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2947, allocations: 23.97 kB / 1.068 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2948, allocations: 27.97 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.2951, allocations: 56.88 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2951, allocations: 3.938 kB / 1.068 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002876/0.2954, allocations: 93.56 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2954, allocations: 4 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.2954, allocations: 4.031 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.2954, allocations: 0 / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2955, allocations: 11.98 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2956, allocations: 0 / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.2957, allocations: 11.98 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2957, allocations: 0 / 1.068 GB, free: 9.434 MB / 0.8262 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.802e-05/0.2957, allocations: 113.8 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.2958, allocations: 8 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.2958, allocations: 7.125 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2958, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2958, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2958, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.296, allocations: 165.6 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.296, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.2961, allocations: 15.97 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2961, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2962, allocations: 7.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2962, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2962, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.2965, allocations: 191.3 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.2966, allocations: 81.05 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2966, allocations: 0 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.2967, allocations: 15.98 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.2967, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2968, allocations: 3.938 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.2968, allocations: 83.27 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2968, allocations: 0 / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002173/0.297, allocations: 16 kB / 1.069 GB, free: 8.645 MB / 0.8262 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.0006329/0.2977, allocations: 0.7241 MB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.298, allocations: 63.97 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.298, allocations: 0 / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2981, allocations: 31.95 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2983, allocations: 16.06 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.2989, allocations: 164.1 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.2991, allocations: 0.6729 MB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.484e-05/0.2992, allocations: 19.89 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.2993, allocations: 7.438 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2993, allocations: 7.938 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/1.614, allocations: 1.631 MB / 1.072 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/18.16, allocations: 15.27 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches