Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_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.001062/0.001062, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006932/0.006932, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 21.72 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001457/0.28, allocations: 1.143 MB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.2809, allocations: 0.6077 MB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.281, allocations: 4 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.281, allocations: 0 / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.2811, allocations: 4 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.2813, allocations: 87.58 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.956e-05/0.2814, allocations: 19.94 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.945e-05/0.2815, allocations: 7.984 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.2815, allocations: 4 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.2816, allocations: 19.91 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.2816, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2818, allocations: 151.7 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.2818, allocations: 0 / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2819, allocations: 33.62 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.2821, allocations: 108 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2821, allocations: 3.938 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2821, allocations: 4 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.2821, allocations: 0 / 1.061 GB, free: 2.684 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003762/0.2825, allocations: 351.5 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2825, allocations: 11.97 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.2826, allocations: 34.75 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003869/0.283, allocations: 32.89 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.2831, allocations: 168.2 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.2831, allocations: 384 / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.2831, allocations: 4.375 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.2833, allocations: 70.2 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.2833, allocations: 3.938 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2834, allocations: 0 / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2834, allocations: 0 / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2836, allocations: 71.88 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.284, allocations: 272.7 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.2843, allocations: 70.47 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2844, allocations: 36.89 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.2844, allocations: 4 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2845, allocations: 34.56 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2845, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005019/0.285, allocations: 133.5 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.285, allocations: 55.34 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.2851, allocations: 101.9 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2851, allocations: 25.7 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.2851, allocations: 80.14 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.2852, allocations: 8.031 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.2852, allocations: 13.7 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/0.2853, allocations: 318.8 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2854, allocations: 27.97 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.2856, allocations: 35.97 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.2858, allocations: 68.81 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2858, allocations: 3.938 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003067/0.2861, allocations: 101.5 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2862, allocations: 8.031 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.2862, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2862, allocations: 0 / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2863, allocations: 15.98 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2863, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.2864, allocations: 15.98 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2864, allocations: 4 kB / 1.063 GB, free: 316 kB / 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.828e-05/0.2865, allocations: 121.8 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2866, allocations: 0 / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.2866, allocations: 3.125 kB / 1.063 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2866, allocations: 4 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2866, allocations: 0 / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2866, allocations: 3.938 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2868, allocations: 165.6 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2868, allocations: 4.188 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.2869, allocations: 23.91 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2869, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2869, allocations: 3.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2869, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2869, allocations: 4 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.2873, allocations: 195.4 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.2873, allocations: 81.11 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2874, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2875, allocations: 19.95 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.2875, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.2875, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.415e-05/0.2876, allocations: 87.27 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2876, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002367/0.2878, allocations: 19.91 kB / 1.064 GB, free: 15.5 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.0006082/0.2884, allocations: 0.7436 MB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2887, allocations: 63.94 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2888, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.2889, allocations: 43.95 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2892, allocations: 9.203 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.2897, allocations: 182.3 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.2899, allocations: 0.677 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.409e-05/0.29, allocations: 7.938 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.29, allocations: 15.44 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.29, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009673/0.2997, allocations: 1.396 MB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2999, allocations: 227.1 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.069, allocations: 5.188 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches