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.001359/0.001359, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001659/0.001659, allocations: 217 kB / 22.25 MB, free: 5.082 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 8.008 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.944/2.944, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.002032/0.002032, allocations: 66.69 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3404, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002838/0.3432, allocations: 1.306 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1874/0.5306, allocations: 151 MB / 1.432 GB, free: 2.91 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.5307, allocations: 3.938 kB / 1.432 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.5307, allocations: 0 / 1.432 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.5308, allocations: 11.92 kB / 1.432 GB, free: 2.895 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.5313, allocations: 111.5 kB / 1.432 GB, free: 2.785 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.5313, allocations: 23.86 kB / 1.432 GB, free: 2.762 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.5314, allocations: 0 / 1.432 GB, free: 2.762 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.5314, allocations: 11.98 kB / 1.432 GB, free: 2.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.5315, allocations: 11.94 kB / 1.432 GB, free: 2.738 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.5315, allocations: 0 / 1.432 GB, free: 2.738 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005069/0.532, allocations: 183.6 kB / 1.432 GB, free: 2.559 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.532, allocations: 4 kB / 1.432 GB, free: 2.555 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.532, allocations: 7.938 kB / 1.432 GB, free: 2.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.5323, allocations: 111.7 kB / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.5323, allocations: 0 / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5323, allocations: 0 / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5323, allocations: 7.938 kB / 1.433 GB, free: 2.438 MB / 1.123 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.0004157/0.5327, allocations: 278 kB / 1.433 GB, free: 2.137 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5328, allocations: 12.03 kB / 1.433 GB, free: 2.125 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.5328, allocations: 30.75 kB / 1.433 GB, free: 2.086 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006457/0.5335, allocations: 40.88 kB / 1.433 GB, free: 2.047 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5336, allocations: 110.2 kB / 1.433 GB, free: 1.914 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.5336, allocations: 0 / 1.433 GB, free: 1.914 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.5336, allocations: 8 kB / 1.433 GB, free: 1.906 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.5338, allocations: 49.66 kB / 1.433 GB, free: 1.852 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5338, allocations: 0 / 1.433 GB, free: 1.852 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.5338, allocations: 0 / 1.433 GB, free: 1.852 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5338, allocations: 3.984 kB / 1.433 GB, free: 1.848 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5339, allocations: 15.98 kB / 1.433 GB, free: 1.832 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.5343, allocations: 231.9 kB / 1.433 GB, free: 1.562 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/0.5344, allocations: 30.52 kB / 1.433 GB, free: 1.523 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.5344, allocations: 4.859 kB / 1.433 GB, free: 1.516 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5345, allocations: 4.062 kB / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5345, allocations: 34.56 kB / 1.433 GB, free: 1.469 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.5345, allocations: 4 kB / 1.433 GB, free: 1.465 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0001691/0.5346, allocations: 49.56 kB / 1.433 GB, free: 1.41 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5347, allocations: 51.41 kB / 1.433 GB, free: 1.348 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.5348, allocations: 113.8 kB / 1.434 GB, free: 1.227 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.5349, allocations: 25.7 kB / 1.434 GB, free: 1.195 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.5349, allocations: 80.14 kB / 1.434 GB, free: 1.113 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.5349, allocations: 15.89 kB / 1.434 GB, free: 1.098 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.535, allocations: 21.83 kB / 1.434 GB, free: 1.07 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5351, allocations: 314.8 kB / 1.434 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.5352, allocations: 15.92 kB / 1.434 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.5352, allocations: 8 kB / 1.434 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.5353, allocations: 20.84 kB / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5353, allocations: 0 / 1.434 GB, free: 0.707 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002046/0.5355, allocations: 69.56 kB / 1.434 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.5356, allocations: 7.984 kB / 1.434 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5356, allocations: 0 / 1.434 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5356, allocations: 0 / 1.434 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.5357, allocations: 11.98 kB / 1.434 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5357, allocations: 0 / 1.434 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.5358, allocations: 7.938 kB / 1.434 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.5359, allocations: 8 kB / 1.434 GB, free: 0.5977 MB / 1.123 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 8.334e-05/0.5359, allocations: 109.8 kB / 1.434 GB, free: 492 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.536, allocations: 0 / 1.434 GB, free: 492 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.536, allocations: 11.31 kB / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.536, allocations: 0 / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.536, allocations: 0 / 1.434 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.536, allocations: 3.938 kB / 1.434 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5362, allocations: 124.8 kB / 1.434 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5362, allocations: 0 / 1.434 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.5362, allocations: 4 kB / 1.434 GB, free: 304 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5362, allocations: 4 kB / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.5362, allocations: 0 / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5362, allocations: 0 / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5362, allocations: 0 / 1.434 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5363, allocations: 143.4 kB / 1.435 GB, free: 140 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.5363, allocations: 3.953 kB / 1.435 GB, free: 136 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5364, allocations: 0 / 1.435 GB, free: 136 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.5365, allocations: 12.34 kB / 1.435 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.5365, allocations: 3.938 kB / 1.435 GB, free: 120 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.5365, allocations: 0 / 1.435 GB, free: 120 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001003/0.5366, allocations: 95.25 kB / 1.435 GB, free: 24 kB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5366, allocations: 0 / 1.435 GB, free: 24 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002645/0.5369, allocations: 15.94 kB / 1.435 GB, free: 8 kB / 1.123 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.0005197/0.5374, allocations: 0.685 MB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5375, allocations: 19.92 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5375, allocations: 0 / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.5375, allocations: 8 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.5379, allocations: 16.03 kB / 1.435 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.5384, allocations: 161.1 kB / 1.436 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5387, allocations: 0.6768 MB / 1.436 GB, free: 14.36 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 5.929e-05/0.5387, allocations: 8 kB / 1.436 GB, free: 14.35 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.5388, allocations: 7.438 kB / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of SimCode: time 3.21e-07/0.5388, allocations: 0 / 1.436 GB, free: 14.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.5667, allocations: 1.7 MB / 1.438 GB, free: 12.77 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.55, allocations: 7.281 kB / 1.438 GB, free: 12.77 MB / 1.139 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.581607521045953]