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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001445/0.001445, allocations: 199.3 kB / 16.14 MB, free: 6.648 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.89 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2537, allocations: 157.4 MB / 1.052 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002461/0.2562, allocations: 1.351 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009325/0.2571, allocations: 0.5921 MB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.2572, allocations: 4 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/0.2572, allocations: 0 / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.2573, allocations: 11.91 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2576, allocations: 75.72 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.2577, allocations: 23.8 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.2577, allocations: 0 / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.2578, allocations: 4 kB / 1.054 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.2578, allocations: 8 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.2578, allocations: 8 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.2581, allocations: 143.7 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.2581, allocations: 3.938 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.2582, allocations: 8 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2584, allocations: 103.9 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2584, allocations: 0 / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2584, allocations: 0 / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2584, allocations: 0 / 1.054 GB, free: 5.812 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.0003489/0.2588, allocations: 343.5 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2588, allocations: 15.97 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.2588, allocations: 30.75 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004359/0.2593, allocations: 32.89 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2594, allocations: 164.3 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2594, allocations: 4.375 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2594, allocations: 4.375 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2596, allocations: 54.16 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2596, allocations: 3.938 kB / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2596, allocations: 0 / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2596, allocations: 0 / 1.055 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2598, allocations: 19.98 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.2599, allocations: 161.5 kB / 1.055 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.2601, allocations: 46.58 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.2602, allocations: 16.91 kB / 1.055 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2602, allocations: 7.938 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.2602, allocations: 34.56 kB / 1.055 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2602, allocations: 3.938 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003026/0.2605, allocations: 73.59 kB / 1.055 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2606, allocations: 55.41 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.2606, allocations: 97.84 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2607, allocations: 25.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.2607, allocations: 80.14 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2607, allocations: 7.906 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2608, allocations: 17.84 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.2609, allocations: 314.8 kB / 1.056 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.846e-05/0.2609, allocations: 15.98 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/0.261, allocations: 4 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.2611, allocations: 44.83 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2611, allocations: 0 / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.2613, allocations: 53.67 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2613, allocations: 7.938 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2614, allocations: 0 / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2614, allocations: 4 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2615, allocations: 7.984 kB / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2615, allocations: 0 / 1.056 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.2616, allocations: 7.969 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2616, allocations: 4 kB / 1.056 GB, free: 3.848 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.684e-05/0.2617, allocations: 113.8 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.2617, allocations: 7.922 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.2617, allocations: 7.125 kB / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2617, allocations: 0 / 1.056 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2617, allocations: 4 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2617, allocations: 0 / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.2618, allocations: 157.6 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2619, allocations: 0 / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.2619, allocations: 7.984 kB / 1.056 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.262, allocations: 3.938 kB / 1.056 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.262, allocations: 4 kB / 1.056 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.262, allocations: 0 / 1.056 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.262, allocations: 3.938 kB / 1.056 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2622, allocations: 97.19 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.2623, allocations: 81.09 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.2623, allocations: 7.922 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.2624, allocations: 4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.2624, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2624, allocations: 0 / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.2624, allocations: 87.3 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2624, allocations: 0 / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002081/0.2626, allocations: 12 kB / 1.057 GB, free: 3.164 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.0004828/0.2631, allocations: 0.6319 MB / 1.057 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.2633, allocations: 27.97 kB / 1.057 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2633, allocations: 0 / 1.057 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.2634, allocations: 23.92 kB / 1.057 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2636, allocations: 4.875 kB / 1.057 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.2641, allocations: 146 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.2643, allocations: 0.677 MB / 1.058 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.941e-05/0.2644, allocations: 15.88 kB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.2644, allocations: 19.42 kB / 1.058 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2644, allocations: 0 / 1.058 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.2749, allocations: 1.421 MB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.2751, allocations: 231.4 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.997, allocations: 4 kB / 1.06 GB, free: 4 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