Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001395/0.001395, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001508/0.001508, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.431/3.431, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="Buildings_latest_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.002067/0.002067, allocations: 69.06 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4144, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002857/0.4172, allocations: 1.304 MB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1909/0.6081, allocations: 150.9 MB / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.6081, allocations: 0 / 1.502 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.6082, allocations: 3.938 kB / 1.502 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.6082, allocations: 15.91 kB / 1.502 GB, free: 15.56 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.6089, allocations: 107.5 kB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.609, allocations: 23.86 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 5.153e-05/0.609, allocations: 7.938 kB / 1.502 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.6091, allocations: 8 kB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.6091, allocations: 4 kB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.6091, allocations: 0 / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005423/0.6097, allocations: 187.6 kB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.6097, allocations: 3.938 kB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.6097, allocations: 11.98 kB / 1.502 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.61, allocations: 111.9 kB / 1.502 GB, free: 15.1 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.61, allocations: 0 / 1.502 GB, free: 15.1 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.204e-06/0.61, allocations: 3.938 kB / 1.502 GB, free: 15.1 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.61, allocations: 4 kB / 1.502 GB, free: 15.09 MB / 1.201 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.0004409/0.6105, allocations: 274.1 kB / 1.502 GB, free: 14.8 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6105, allocations: 15.97 kB / 1.502 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.6106, allocations: 30.75 kB / 1.502 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.6112, allocations: 40.88 kB / 1.502 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6113, allocations: 110.2 kB / 1.502 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.6114, allocations: 8 kB / 1.502 GB, free: 14.56 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.6114, allocations: 4 kB / 1.502 GB, free: 14.56 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.6116, allocations: 49.59 kB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6116, allocations: 0 / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.6116, allocations: 0 / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6116, allocations: 0 / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.6117, allocations: 23.97 kB / 1.503 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.6121, allocations: 224 kB / 1.503 GB, free: 14.22 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 6.291e-05/0.6122, allocations: 26.58 kB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.6122, allocations: 8.859 kB / 1.503 GB, free: 14.17 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.6122, allocations: 0 / 1.503 GB, free: 14.17 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.6123, allocations: 34.56 kB / 1.503 GB, free: 14.13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.6123, allocations: 4 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.6124, allocations: 41.69 kB / 1.503 GB, free: 14.08 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.6125, allocations: 51.41 kB / 1.503 GB, free: 14.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.6126, allocations: 113.8 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6127, allocations: 29.7 kB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.6127, allocations: 88.08 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.6127, allocations: 11.83 kB / 1.503 GB, free: 13.76 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.6128, allocations: 25.83 kB / 1.503 GB, free: 13.73 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6129, allocations: 318.8 kB / 1.503 GB, free: 13.41 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/0.613, allocations: 7.984 kB / 1.503 GB, free: 13.4 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.613, allocations: 12 kB / 1.504 GB, free: 13.39 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.472e-05/0.6131, allocations: 20.84 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6131, allocations: 0 / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.6133, allocations: 61.67 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6134, allocations: 7.984 kB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6134, allocations: 0 / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6134, allocations: 0 / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6135, allocations: 15.92 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.6135, allocations: 0 / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.6136, allocations: 7.938 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.6137, allocations: 11.94 kB / 1.504 GB, free: 13.25 MB / 1.201 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.678e-05/0.6137, allocations: 118.4 kB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.6138, allocations: 0 / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.6138, allocations: 11.25 kB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6138, allocations: 0 / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6138, allocations: 0 / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6138, allocations: 3.938 kB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.614, allocations: 124.8 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.614, allocations: 0 / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.614, allocations: 8 kB / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.614, allocations: 0 / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.614, allocations: 0 / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.614, allocations: 3.984 kB / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.614, allocations: 0 / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.6142, allocations: 147.4 kB / 1.504 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.6142, allocations: 0 / 1.504 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.6142, allocations: 0 / 1.504 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.6143, allocations: 12.02 kB / 1.504 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.6143, allocations: 8.266 kB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.6143, allocations: 0 / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 9.769e-05/0.6144, allocations: 91.25 kB / 1.504 GB, free: 12.67 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6144, allocations: 0 / 1.504 GB, free: 12.67 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002617/0.6147, allocations: 19.94 kB / 1.504 GB, free: 12.65 MB / 1.201 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.0005464/0.6152, allocations: 0.6734 MB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.6154, allocations: 23.92 kB / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6154, allocations: 0 / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.6154, allocations: 4 kB / 1.505 GB, free: 11.92 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.6158, allocations: 12.03 kB / 1.505 GB, free: 11.91 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.6163, allocations: 153.2 kB / 1.505 GB, free: 11.72 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.6166, allocations: 0.6768 MB / 1.506 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 6.093e-05/0.6167, allocations: 7.938 kB / 1.506 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.6167, allocations: 15.44 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of SimCode: time 3.61e-07/0.6167, allocations: 3.938 kB / 1.506 GB, free: 11 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.6468, allocations: 1.706 MB / 1.507 GB, free: 9.418 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.67, allocations: 9.469 kB / 1.507 GB, free: 9.414 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.818148138932884]