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.001807/0.001807, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002279/0.002279, allocations: 219 kB / 23.03 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.822/2.822, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",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.002036/0.002036, allocations: 63.53 kB / 1.118 GB, free: 39.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002466/0.3421, allocations: 1.304 MB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.5177, allocations: 129.5 MB / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.5177, allocations: 0 / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.5177, allocations: 0 / 1.412 GB, free: 7.309 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.5178, allocations: 7.922 kB / 1.412 GB, free: 7.301 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.5184, allocations: 119.4 kB / 1.412 GB, free: 7.184 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.87e-05/0.5185, allocations: 23.86 kB / 1.412 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.5185, allocations: 4 kB / 1.412 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.699e-05/0.5186, allocations: 7.938 kB / 1.412 GB, free: 7.148 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.5186, allocations: 8 kB / 1.412 GB, free: 7.141 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.5186, allocations: 0 / 1.412 GB, free: 7.141 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.5191, allocations: 171.7 kB / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.5191, allocations: 0 / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.5191, allocations: 11.92 kB / 1.412 GB, free: 6.961 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.5194, allocations: 112.8 kB / 1.412 GB, free: 6.855 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5194, allocations: 3.984 kB / 1.412 GB, free: 6.852 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5194, allocations: 0 / 1.412 GB, free: 6.852 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5194, allocations: 0 / 1.412 GB, free: 6.852 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.0004229/0.5198, allocations: 274 kB / 1.413 GB, free: 6.555 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5199, allocations: 16.03 kB / 1.413 GB, free: 6.539 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.921e-05/0.5199, allocations: 192 / 1.413 GB, free: 6.539 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.5199, allocations: 34.75 kB / 1.413 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.5206, allocations: 36.89 kB / 1.413 GB, free: 6.461 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5207, allocations: 110.1 kB / 1.413 GB, free: 6.328 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5207, allocations: 8 kB / 1.413 GB, free: 6.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.5207, allocations: 0 / 1.413 GB, free: 6.32 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.5209, allocations: 49.67 kB / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5209, allocations: 0 / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5209, allocations: 0 / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5209, allocations: 0 / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.5211, allocations: 23.91 kB / 1.413 GB, free: 6.242 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.5215, allocations: 227.9 kB / 1.413 GB, free: 5.977 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.5216, allocations: 26.56 kB / 1.413 GB, free: 5.941 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.5216, allocations: 12.92 kB / 1.413 GB, free: 5.926 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.505e-06/0.5216, allocations: 3.938 kB / 1.413 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5216, allocations: 30.56 kB / 1.413 GB, free: 5.883 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5216, allocations: 0 / 1.413 GB, free: 5.883 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.5218, allocations: 49.62 kB / 1.413 GB, free: 5.828 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.5219, allocations: 51.41 kB / 1.413 GB, free: 5.766 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.522, allocations: 117.7 kB / 1.413 GB, free: 5.641 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.522, allocations: 25.7 kB / 1.413 GB, free: 5.609 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.5221, allocations: 84.27 kB / 1.413 GB, free: 5.523 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.5221, allocations: 19.86 kB / 1.413 GB, free: 5.504 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.5222, allocations: 17.7 kB / 1.413 GB, free: 5.48 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5223, allocations: 314.8 kB / 1.414 GB, free: 5.164 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.5224, allocations: 11.98 kB / 1.414 GB, free: 5.152 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.045e-05/0.5224, allocations: 11.98 kB / 1.414 GB, free: 5.141 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.92e-05/0.5225, allocations: 20.8 kB / 1.414 GB, free: 5.117 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5225, allocations: 0 / 1.414 GB, free: 5.117 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002084/0.5227, allocations: 69.61 kB / 1.414 GB, free: 5.043 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5228, allocations: 4 kB / 1.414 GB, free: 5.039 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5228, allocations: 0 / 1.414 GB, free: 5.039 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5228, allocations: 0 / 1.414 GB, free: 5.039 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5229, allocations: 11.98 kB / 1.414 GB, free: 5.027 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5229, allocations: 3.938 kB / 1.414 GB, free: 5.023 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.523, allocations: 8 kB / 1.414 GB, free: 5.016 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.5231, allocations: 11.97 kB / 1.414 GB, free: 5.004 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 8.931e-05/0.5232, allocations: 107.2 kB / 1.414 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.5232, allocations: 0 / 1.414 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.5232, allocations: 11.31 kB / 1.414 GB, free: 4.879 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5232, allocations: 0 / 1.414 GB, free: 4.879 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5232, allocations: 3.938 kB / 1.414 GB, free: 4.875 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5232, allocations: 3.938 kB / 1.414 GB, free: 4.871 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.5234, allocations: 120.8 kB / 1.414 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5234, allocations: 0 / 1.414 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.5234, allocations: 8 kB / 1.414 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5234, allocations: 4 kB / 1.414 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.5234, allocations: 0 / 1.414 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5234, allocations: 0 / 1.414 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.5234, allocations: 3.938 kB / 1.414 GB, free: 4.695 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.5236, allocations: 139.5 kB / 1.414 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.5236, allocations: 3.953 kB / 1.414 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5236, allocations: 4 kB / 1.414 GB, free: 4.535 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.5237, allocations: 4 kB / 1.414 GB, free: 4.531 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.5237, allocations: 7.922 kB / 1.414 GB, free: 4.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5237, allocations: 4.031 kB / 1.414 GB, free: 4.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001035/0.5238, allocations: 91.59 kB / 1.414 GB, free: 4.43 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5238, allocations: 0 / 1.414 GB, free: 4.43 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002574/0.5241, allocations: 15.94 kB / 1.414 GB, free: 4.414 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.0005319/0.5246, allocations: 0.6813 MB / 1.415 GB, free: 3.707 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.5248, allocations: 23.95 kB / 1.415 GB, free: 3.684 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5248, allocations: 4.031 kB / 1.415 GB, free: 3.68 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.5248, allocations: 7.938 kB / 1.415 GB, free: 3.672 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.5251, allocations: 14.28 kB / 1.415 GB, free: 3.66 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.5257, allocations: 153.2 kB / 1.415 GB, free: 3.473 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.5257, allocations: 59.34 kB / 1.415 GB, free: 3.395 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 6.021e-05/0.5258, allocations: 8.062 kB / 1.415 GB, free: 3.387 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.5258, allocations: 11.44 kB / 1.415 GB, free: 3.375 MB / 1.107 GB Notification: Performance of SimCode: time 3.6e-07/0.5258, allocations: 0 / 1.415 GB, free: 3.375 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.5486, allocations: 1.801 MB / 1.417 GB, free: 1.723 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.05, allocations: 13.83 kB / 1.417 GB, free: 1.715 MB / 1.107 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.8774676930625]