Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_9_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.005291/0.005291, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001182/0.001182, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 71.16 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2808, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002811/0.2836, allocations: 1.399 MB / 1.089 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2849, allocations: 0.598 MB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.2849, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.285, allocations: 0 / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.2851, allocations: 11.92 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.2857, allocations: 95.56 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.086e-05/0.2858, allocations: 27.92 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2859, allocations: 8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.2859, allocations: 11.94 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.286, allocations: 15.97 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.286, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2864, allocations: 139.7 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.2864, allocations: 4 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2864, allocations: 7.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2867, allocations: 110.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2867, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2867, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2867, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 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.0005506/0.2873, allocations: 352.3 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2873, allocations: 12.03 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.2874, allocations: 30.75 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.2878, allocations: 36.8 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.288, allocations: 168.3 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.288, allocations: 4.312 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.288, allocations: 12.31 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.2883, allocations: 66.2 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2883, allocations: 3.938 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.2883, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2883, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.2886, allocations: 55.94 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.2891, allocations: 268.9 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.2894, allocations: 66.41 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.2895, allocations: 32.89 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.2896, allocations: 3.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2896, allocations: 30.56 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2896, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005442/0.2902, allocations: 117.5 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.2902, allocations: 59.33 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.2903, allocations: 97.86 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2903, allocations: 29.83 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2904, allocations: 80.14 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.2904, allocations: 11.91 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.2905, allocations: 13.7 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2906, allocations: 314.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.2907, allocations: 23.97 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2909, allocations: 31.97 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.2911, allocations: 56.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2911, allocations: 3.938 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003182/0.2915, allocations: 93.64 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2915, allocations: 4 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2915, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2915, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2917, allocations: 15.97 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2917, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.463e-05/0.2918, allocations: 16.02 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2918, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 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 9.045e-05/0.2919, allocations: 113.8 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.2919, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.292, allocations: 7.062 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.292, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.292, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.292, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2922, allocations: 177.6 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2922, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2923, allocations: 11.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2923, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.2923, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.2924, allocations: 3.984 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2924, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2927, allocations: 199.3 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.2928, allocations: 77.3 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2928, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.2929, allocations: 15.91 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.293, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.293, allocations: 8.016 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.293, allocations: 79.28 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2931, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.2933, allocations: 16 kB / 1.093 GB, free: 12.5 MB / 0.8575 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.0007626/0.2941, allocations: 0.7319 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2944, allocations: 59.88 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2944, allocations: 96 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.2946, allocations: 31.97 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2949, allocations: 1.406 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.2956, allocations: 164.3 kB / 1.093 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2959, allocations: 0.6807 MB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.041e-05/0.2959, allocations: 11.94 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.296, allocations: 15.42 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.296, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.3169, allocations: 1.665 MB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.618, allocations: 3.938 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches