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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007608/0.007608, allocations: 105.9 kB / 15.74 MB, free: 5.996 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.001415/0.001415, allocations: 197 kB / 16.67 MB, free: 5.918 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.88 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.906/0.9075, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003192/0.9107, allocations: 1.408 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.9119, allocations: 0.5843 MB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.912, allocations: 0 / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.912, allocations: 3.938 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.9122, allocations: 11.92 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.9127, allocations: 99.56 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.9128, allocations: 27.86 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.9129, allocations: 4 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.913, allocations: 11.98 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.913, allocations: 11.94 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.913, allocations: 0 / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.9134, allocations: 143.8 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.9134, allocations: 7.984 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.9134, allocations: 15.88 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.9138, allocations: 102.1 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9138, allocations: 3.938 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9138, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.9138, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 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.0005076/0.9143, allocations: 363.3 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9143, allocations: 8.031 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.9144, allocations: 42.75 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.9149, allocations: 24.91 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.915, allocations: 164.4 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.915, allocations: 384 / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.915, allocations: 4.359 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.9153, allocations: 78.14 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.9153, allocations: 3.938 kB / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.9153, allocations: 0 / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9153, allocations: 0 / 1.21 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.9156, allocations: 51.94 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.9161, allocations: 268.8 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.9163, allocations: 58.48 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.9164, allocations: 40.83 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.9165, allocations: 4 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.9165, allocations: 38.55 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9165, allocations: 3.938 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0005109/0.917, allocations: 109.7 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.9171, allocations: 51.41 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.9171, allocations: 101.9 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.9172, allocations: 25.7 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.9172, allocations: 84.12 kB / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.9173, allocations: 3.906 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.9173, allocations: 21.72 kB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.9174, allocations: 318.8 kB / 1.211 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.9177, allocations: 32 kB / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.9178, allocations: 23.97 kB / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.918, allocations: 56.88 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9181, allocations: 3.938 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003056/0.9184, allocations: 89.62 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.9184, allocations: 8 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9184, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9184, allocations: 0 / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.9186, allocations: 16.02 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9186, allocations: 3.938 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.9187, allocations: 7.984 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9187, allocations: 4 kB / 1.212 GB, free: 8.773 MB / 0.9356 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 8.197e-05/0.9188, allocations: 109.8 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.9189, allocations: 3.938 kB / 1.212 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.9189, allocations: 19.11 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.9189, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9189, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9189, allocations: 0 / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.9191, allocations: 161.6 kB / 1.212 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9191, allocations: 4 kB / 1.212 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.9193, allocations: 11.98 kB / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.9193, allocations: 0 / 1.212 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.9193, allocations: 7.984 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9193, allocations: 4 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9193, allocations: 0 / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.9197, allocations: 183.3 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.9197, allocations: 92.91 kB / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.9197, allocations: 4.031 kB / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.9199, allocations: 11.98 kB / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.9199, allocations: 4.188 kB / 1.212 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.9199, allocations: 0 / 1.212 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.92, allocations: 83.27 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.92, allocations: 0 / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002601/0.9203, allocations: 15.98 kB / 1.212 GB, free: 7.977 MB / 0.9356 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.0006962/0.921, allocations: 0.7241 MB / 1.213 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.9213, allocations: 63.91 kB / 1.213 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9213, allocations: 4 kB / 1.213 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.9214, allocations: 27.97 kB / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.9217, allocations: 3.984 kB / 1.213 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.9223, allocations: 176.2 kB / 1.213 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.9227, allocations: 0.6729 MB / 1.214 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.458e-05/0.9228, allocations: 11.94 kB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.9228, allocations: 11.42 kB / 1.214 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.9228, allocations: 4 kB / 1.214 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.9424, allocations: 1.693 MB / 1.216 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/8.599, allocations: 5.344 kB / 1.216 GB, free: 4.629 MB / 0.9356 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