Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_10_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.001/0.0009999, 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.007326/0.007326, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.509/2.509, allocations: 437.8 MB / 0.7121 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6053, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001433/0.6067, allocations: 1.141 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.6077, allocations: 0.5891 MB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.6077, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.6077, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.6078, allocations: 7.938 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.6081, allocations: 91.58 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.6082, allocations: 23.92 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.6082, allocations: 7.984 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.6083, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.6083, allocations: 15.92 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.6084, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.6086, allocations: 147.7 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.6086, allocations: 11.98 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.6087, allocations: 37.62 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.6089, allocations: 94.08 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6089, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6089, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6089, allocations: 0 / 1.025 GB, free: 13.72 MB / 0.7794 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.0004263/0.6093, allocations: 367.4 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.6094, allocations: 12.03 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.6094, allocations: 34.75 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004044/0.6098, allocations: 24.91 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.6099, allocations: 176.2 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.61, allocations: 384 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.61, allocations: 384 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.6102, allocations: 82.14 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6102, allocations: 3.938 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.6102, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6103, allocations: 7.984 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.6105, allocations: 63.94 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.611, allocations: 264.9 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.6112, allocations: 70.42 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.6114, allocations: 40.89 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6114, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.6114, allocations: 38.55 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6114, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005104/0.6119, allocations: 129.5 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.612, allocations: 55.34 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.612, allocations: 101.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.6121, allocations: 25.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.6121, allocations: 84.14 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.6121, allocations: 4.031 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.6122, allocations: 17.72 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.6123, allocations: 310.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.6124, allocations: 31.97 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.6125, allocations: 35.97 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.6128, allocations: 68.86 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6128, allocations: 3.938 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003029/0.6131, allocations: 101.6 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6131, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6131, allocations: 4.031 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.6132, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6133, allocations: 19.97 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.6133, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.6134, allocations: 8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.6134, allocations: 3.984 kB / 1.027 GB, free: 11.33 MB / 0.7794 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 7.227e-05/0.6135, allocations: 118.3 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.6135, allocations: 3.906 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.6136, allocations: 7.125 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6136, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6136, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.6136, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.6138, allocations: 173.4 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6138, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.6139, allocations: 23.92 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6139, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.6139, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6139, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6139, allocations: 0 / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.6143, allocations: 203.4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.6143, allocations: 81.05 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6143, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6145, allocations: 15.95 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.6145, allocations: 8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.6145, allocations: 3.984 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.56e-05/0.6146, allocations: 79.28 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6146, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002361/0.6148, allocations: 12 kB / 1.028 GB, free: 10.52 MB / 0.7794 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.0006217/0.6154, allocations: 0.7474 MB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.6157, allocations: 67.97 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6158, allocations: 0 / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.6159, allocations: 40.03 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.6162, allocations: 0 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.6167, allocations: 182.3 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.6169, allocations: 0.6809 MB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.617, allocations: 7.938 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.617, allocations: 15.42 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.617, allocations: 0 / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01016/0.6272, allocations: 1.392 MB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6274, allocations: 222.9 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.302, allocations: 4 kB / 1.031 GB, free: 7.18 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches