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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001471/0.001471, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00181/0.00181, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.606/0.6072, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002727/0.61, allocations: 1.473 MB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.6112, allocations: 0.6024 MB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.6112, allocations: 0 / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.6113, allocations: 0 / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.6114, allocations: 9.312 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.6118, allocations: 83.02 kB / 0.9511 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.6118, allocations: 26.86 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.6119, allocations: 10.73 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.51e-05/0.612, allocations: 8.109 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.612, allocations: 10.69 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.6121, allocations: 1.375 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.6124, allocations: 149.3 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.6124, allocations: 13.47 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.6124, allocations: 6.719 kB / 0.9514 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.6127, allocations: 93.64 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6127, allocations: 3.938 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6127, allocations: 1.188 kB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.6127, allocations: 0 / 0.9515 GB, free: 7.25 MB / 0.7169 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.0004866/0.6132, allocations: 361.8 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.6133, allocations: 11.16 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.6133, allocations: 34.75 kB / 0.9518 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.6137, allocations: 24.56 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.6139, allocations: 173.2 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.6139, allocations: 5.656 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.6139, allocations: 1.719 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.6141, allocations: 66.05 kB / 0.9521 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6142, allocations: 8.938 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6142, allocations: 0 / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.6142, allocations: 0.9375 kB / 0.9521 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.6145, allocations: 51.22 kB / 0.9522 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.6149, allocations: 276.1 kB / 0.9524 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.6152, allocations: 63.75 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.6153, allocations: 31.23 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6153, allocations: 5.469 kB / 0.9525 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6154, allocations: 30.56 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.6154, allocations: 1.406 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005353/0.6159, allocations: 114.9 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.6159, allocations: 55.34 kB / 0.9527 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.616, allocations: 98.91 kB / 0.9528 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.616, allocations: 25.7 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.6161, allocations: 85.55 kB / 0.9529 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.6161, allocations: 5.125 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.6161, allocations: 16.27 kB / 0.9529 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.6162, allocations: 320.1 kB / 0.9532 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.6163, allocations: 29.59 kB / 0.9533 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.6165, allocations: 30.38 kB / 0.9533 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.6167, allocations: 55.88 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6167, allocations: 3.938 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002874/0.617, allocations: 90.78 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.617, allocations: 4.969 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6171, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.6171, allocations: 1.25 kB / 0.9535 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.6172, allocations: 15.3 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6172, allocations: 1.438 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.6173, allocations: 12.08 kB / 0.9535 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.6173, allocations: 1.281 kB / 0.9535 GB, free: 5.25 MB / 0.7169 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.175e-05/0.6174, allocations: 117.1 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.6174, allocations: 3.906 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.6175, allocations: 8.75 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.6175, allocations: 0 / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6175, allocations: 0 / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.6175, allocations: 1.188 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.6176, allocations: 171 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6176, allocations: 1.594 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.6177, allocations: 15.25 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6178, allocations: 5.094 kB / 0.9538 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.6178, allocations: 3.984 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6178, allocations: 5.156 kB / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6178, allocations: 0 / 0.9538 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.6181, allocations: 189.1 kB / 0.954 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.6181, allocations: 81.05 kB / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.6181, allocations: 5.5 kB / 0.9541 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.6183, allocations: 9.047 kB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.6183, allocations: 1.469 kB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.6183, allocations: 1.281 kB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.142e-05/0.6183, allocations: 86.14 kB / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6183, allocations: 0 / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002372/0.6186, allocations: 15.22 kB / 0.9542 GB, free: 4.527 MB / 0.7169 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.0005163/0.6191, allocations: 0.7372 MB / 0.9549 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002925/0.6194, allocations: 59.06 kB / 0.9549 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6194, allocations: 0 / 0.9549 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6195, allocations: 31.8 kB / 0.955 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.6198, allocations: 6.688 kB / 0.955 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.6204, allocations: 166.4 kB / 0.9551 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.6205, allocations: 0.6735 MB / 0.9558 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.6206, allocations: 18.7 kB / 0.9558 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.6206, allocations: 17.5 kB / 0.9558 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6206, allocations: 0 / 0.9558 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.6309, allocations: 1.448 MB / 0.9572 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.631, allocations: 221.5 kB / 0.9575 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.289, allocations: 0 / 0.9575 GB, free: 1.883 MB / 0.7169 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