Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002737/0.002737, allocations: 213.6 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003131/0.003131, allocations: 64.5 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3591, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002611/0.3617, allocations: 1.304 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1795/0.5412, allocations: 129.6 MB / 1.41 GB, free: 9.039 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.5413, allocations: 0 / 1.41 GB, free: 9.039 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.5413, allocations: 0 / 1.41 GB, free: 9.039 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.5414, allocations: 7.922 kB / 1.41 GB, free: 9.031 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007523/0.5421, allocations: 123.4 kB / 1.411 GB, free: 8.91 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.5422, allocations: 23.81 kB / 1.411 GB, free: 8.887 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.5423, allocations: 4 kB / 1.411 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.5423, allocations: 7.984 kB / 1.411 GB, free: 8.875 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.5424, allocations: 4 kB / 1.411 GB, free: 8.871 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.5424, allocations: 3.984 kB / 1.411 GB, free: 8.867 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006145/0.543, allocations: 163.7 kB / 1.411 GB, free: 8.707 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.543, allocations: 3.938 kB / 1.411 GB, free: 8.703 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.5431, allocations: 4 kB / 1.411 GB, free: 8.699 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.5433, allocations: 117 kB / 1.411 GB, free: 8.59 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5433, allocations: 4 kB / 1.411 GB, free: 8.586 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5434, allocations: 0 / 1.411 GB, free: 8.586 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5434, allocations: 0 / 1.411 GB, free: 8.586 MB / 1.107 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.000479/0.5438, allocations: 282 kB / 1.411 GB, free: 8.281 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5439, allocations: 12.03 kB / 1.411 GB, free: 8.27 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.5439, allocations: 30.75 kB / 1.411 GB, free: 8.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.5446, allocations: 36.88 kB / 1.411 GB, free: 8.195 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5447, allocations: 118.3 kB / 1.411 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5447, allocations: 0 / 1.411 GB, free: 8.055 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.5447, allocations: 7.938 kB / 1.411 GB, free: 8.047 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.5449, allocations: 45.66 kB / 1.411 GB, free: 7.996 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5449, allocations: 0 / 1.411 GB, free: 7.996 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.545, allocations: 4 kB / 1.411 GB, free: 7.992 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.545, allocations: 0 / 1.411 GB, free: 7.992 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.5451, allocations: 23.91 kB / 1.411 GB, free: 7.969 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.5455, allocations: 223.9 kB / 1.412 GB, free: 7.707 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.5456, allocations: 26.58 kB / 1.412 GB, free: 7.672 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.5456, allocations: 4.859 kB / 1.412 GB, free: 7.664 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.5456, allocations: 4.062 kB / 1.412 GB, free: 7.66 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.5457, allocations: 34.56 kB / 1.412 GB, free: 7.617 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5457, allocations: 0 / 1.412 GB, free: 7.617 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.5458, allocations: 45.56 kB / 1.412 GB, free: 7.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.5459, allocations: 59.41 kB / 1.412 GB, free: 7.496 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.5461, allocations: 113.9 kB / 1.412 GB, free: 7.375 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5461, allocations: 25.7 kB / 1.412 GB, free: 7.344 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.5462, allocations: 84.14 kB / 1.412 GB, free: 7.258 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.5462, allocations: 7.891 kB / 1.412 GB, free: 7.25 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.5462, allocations: 21.7 kB / 1.412 GB, free: 7.223 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5464, allocations: 314.8 kB / 1.412 GB, free: 6.906 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.5464, allocations: 8 kB / 1.412 GB, free: 6.898 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.5465, allocations: 11.98 kB / 1.412 GB, free: 6.887 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.5466, allocations: 32.78 kB / 1.412 GB, free: 6.852 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5466, allocations: 0 / 1.412 GB, free: 6.852 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001977/0.5468, allocations: 57.62 kB / 1.412 GB, free: 6.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5468, allocations: 8 kB / 1.412 GB, free: 6.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5468, allocations: 3.984 kB / 1.412 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5468, allocations: 0 / 1.412 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5469, allocations: 4 kB / 1.412 GB, free: 6.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5469, allocations: 8 kB / 1.412 GB, free: 6.766 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.5471, allocations: 16.25 kB / 1.412 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5471, allocations: 0 / 1.412 GB, free: 6.75 MB / 1.107 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 (3): * Single equations (assignments): 3 * 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.636e-05/0.5472, allocations: 113.8 kB / 1.413 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.5472, allocations: 0 / 1.413 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.5472, allocations: 7.297 kB / 1.413 GB, free: 6.621 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5472, allocations: 0 / 1.413 GB, free: 6.621 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5472, allocations: 3.938 kB / 1.413 GB, free: 6.617 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5473, allocations: 7.938 kB / 1.413 GB, free: 6.609 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.5474, allocations: 128.8 kB / 1.413 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5474, allocations: 0 / 1.413 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.5474, allocations: 3.938 kB / 1.413 GB, free: 6.438 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5474, allocations: 0 / 1.413 GB, free: 6.438 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5474, allocations: 4 kB / 1.413 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5474, allocations: 0 / 1.413 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5474, allocations: 0 / 1.413 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5476, allocations: 135.5 kB / 1.413 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.5476, allocations: 11.95 kB / 1.413 GB, free: 6.273 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5476, allocations: 0 / 1.413 GB, free: 6.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.5477, allocations: 8.031 kB / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.5477, allocations: 3.938 kB / 1.413 GB, free: 6.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.5477, allocations: 0 / 1.413 GB, free: 6.262 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001159/0.5478, allocations: 91.27 kB / 1.413 GB, free: 6.172 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5478, allocations: 0 / 1.413 GB, free: 6.172 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002517/0.5481, allocations: 19.92 kB / 1.413 GB, free: 6.152 MB / 1.107 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.0005228/0.5486, allocations: 0.6812 MB / 1.414 GB, free: 5.445 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.5488, allocations: 15.98 kB / 1.414 GB, free: 5.43 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.5488, allocations: 4 kB / 1.414 GB, free: 5.426 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.5488, allocations: 3.938 kB / 1.414 GB, free: 5.422 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.5491, allocations: 15.92 kB / 1.414 GB, free: 5.406 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.5496, allocations: 155.2 kB / 1.414 GB, free: 5.219 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.5497, allocations: 59.36 kB / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.75e-05/0.5497, allocations: 4.062 kB / 1.414 GB, free: 5.137 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.57e-05/0.5498, allocations: 19.42 kB / 1.414 GB, free: 5.117 MB / 1.107 GB Notification: Performance of SimCode: time 2.8e-07/0.5498, allocations: 0 / 1.414 GB, free: 5.117 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.5804, allocations: 2.149 MB / 1.416 GB, free: 3.102 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.84, allocations: 8.781 kB / 1.416 GB, free: 3.098 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.935445486102253]