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: "" <> 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.0009468/0.0009469, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005842/0.005842, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12.91 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001224/0.2759, allocations: 1.025 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.2768, allocations: 0.5766 MB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.247e-05/0.2769, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.2769, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.2769, allocations: 11.92 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.2772, allocations: 75.7 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.2773, allocations: 27.8 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.2774, allocations: 0 / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.2774, allocations: 8 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.2774, allocations: 3.938 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2775, allocations: 4 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.2777, allocations: 147.7 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.2777, allocations: 7.938 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2778, allocations: 33.69 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.278, allocations: 96.06 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.278, allocations: 3.938 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.278, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.278, allocations: 0 / 1.061 GB, free: 2.832 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.000323/0.2783, allocations: 335.5 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.2784, allocations: 15.97 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.294e-05/0.2784, allocations: 34.75 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.2788, allocations: 32.89 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2789, allocations: 164.4 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2789, allocations: 384 / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2789, allocations: 384 / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2791, allocations: 50.22 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2791, allocations: 3.938 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2791, allocations: 11.98 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2791, allocations: 0 / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.2793, allocations: 23.92 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2794, allocations: 165.5 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2796, allocations: 42.55 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.2797, allocations: 24.84 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.2797, allocations: 0 / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2797, allocations: 30.56 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2797, allocations: 0 / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002913/0.28, allocations: 81.53 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2801, allocations: 51.41 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.2801, allocations: 97.84 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2802, allocations: 29.7 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.2802, allocations: 80.14 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.2802, allocations: 7.906 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.2802, allocations: 9.719 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.2803, allocations: 315 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.2804, allocations: 15.98 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.2805, allocations: 7.984 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2806, allocations: 32.84 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2806, allocations: 0 / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.2808, allocations: 61.67 kB / 1.062 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2808, allocations: 9.344 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2808, allocations: 4 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.2809, allocations: 3.938 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.281, allocations: 7.984 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.281, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.281, allocations: 7.938 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.2811, allocations: 8.016 kB / 1.062 GB, free: 0.8672 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.441e-05/0.2811, allocations: 109.8 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.2811, allocations: 3.938 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.2812, allocations: 7.125 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2812, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2812, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2812, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2813, allocations: 153.7 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2813, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.2814, allocations: 7.984 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2814, allocations: 7.938 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2814, allocations: 3.984 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2814, allocations: 3.938 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.2814, allocations: 3.984 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.2816, allocations: 89.05 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.2817, allocations: 85 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2817, allocations: 3.938 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.381e-05/0.2818, allocations: 8 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.2818, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2818, allocations: 7.984 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.2819, allocations: 79.28 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2819, allocations: 0 / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002036/0.2821, allocations: 16.03 kB / 1.063 GB, free: 196 kB / 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.0004927/0.2826, allocations: 0.6319 MB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.2828, allocations: 32 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2828, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.2828, allocations: 11.98 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.2831, allocations: 14.09 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.2835, allocations: 154.3 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2837, allocations: 0.6731 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.746e-05/0.2838, allocations: 12.27 kB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.2838, allocations: 19.05 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2838, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.2947, allocations: 1.362 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.295, allocations: 233 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.955, allocations: 2.391 kB / 1.066 GB, free: 13.11 MB / 0.8262 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