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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002684/0.002684, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 71.88 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9196/0.9219, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002314/0.9242, allocations: 1.302 MB / 1.273 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.181/1.105, allocations: 148.1 MB / 1.417 GB, free: 9.098 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/1.105, allocations: 4 kB / 1.417 GB, free: 9.094 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/1.105, allocations: 3.938 kB / 1.417 GB, free: 9.09 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/1.105, allocations: 5.031 kB / 1.417 GB, free: 9.086 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/1.106, allocations: 117.6 kB / 1.418 GB, free: 9.004 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/1.106, allocations: 20.62 kB / 1.418 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/1.106, allocations: 5.328 kB / 1.418 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/1.106, allocations: 8.031 kB / 1.418 GB, free: 8.984 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/1.106, allocations: 8.5 kB / 1.418 GB, free: 8.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/1.106, allocations: 0 / 1.418 GB, free: 8.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/1.106, allocations: 179.3 kB / 1.418 GB, free: 8.887 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/1.106, allocations: 3.984 kB / 1.418 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/1.106, allocations: 8.688 kB / 1.418 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/1.107, allocations: 106.5 kB / 1.418 GB, free: 8.832 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.107, allocations: 5.047 kB / 1.418 GB, free: 8.828 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.192e-06/1.107, allocations: 0 / 1.418 GB, free: 8.828 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.579e-06/1.107, allocations: 3.938 kB / 1.418 GB, free: 8.824 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.0003685/1.107, allocations: 350 kB / 1.418 GB, free: 8.449 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/1.107, allocations: 12.91 kB / 1.418 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/1.107, allocations: 31.88 kB / 1.418 GB, free: 8.406 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/1.107, allocations: 41.59 kB / 1.418 GB, free: 8.387 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.108, allocations: 165.2 kB / 1.418 GB, free: 8.188 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/1.108, allocations: 1.125 kB / 1.418 GB, free: 8.188 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/1.108, allocations: 1.062 kB / 1.418 GB, free: 8.188 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.108, allocations: 57.67 kB / 1.419 GB, free: 8.133 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/1.108, allocations: 0 / 1.419 GB, free: 8.133 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.108, allocations: 5.156 kB / 1.419 GB, free: 8.129 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/1.108, allocations: 0 / 1.419 GB, free: 8.129 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/1.108, allocations: 19.41 kB / 1.419 GB, free: 8.121 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/1.108, allocations: 254.5 kB / 1.419 GB, free: 7.832 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/1.108, allocations: 23.02 kB / 1.419 GB, free: 7.805 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/1.108, allocations: 16.12 kB / 1.419 GB, free: 7.789 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/1.108, allocations: 1.062 kB / 1.419 GB, free: 7.789 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/1.108, allocations: 39.56 kB / 1.419 GB, free: 7.742 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.108, allocations: 0 / 1.419 GB, free: 7.742 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001437/1.109, allocations: 39.48 kB / 1.419 GB, free: 7.707 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.109, allocations: 51.41 kB / 1.419 GB, free: 7.645 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/1.109, allocations: 124.2 kB / 1.419 GB, free: 7.523 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/1.109, allocations: 25.7 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/1.109, allocations: 81.52 kB / 1.419 GB, free: 7.41 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/1.109, allocations: 5.328 kB / 1.419 GB, free: 7.406 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/1.109, allocations: 21.73 kB / 1.419 GB, free: 7.383 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.109, allocations: 316.1 kB / 1.419 GB, free: 7.066 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/1.109, allocations: 14.08 kB / 1.419 GB, free: 7.059 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/1.109, allocations: 9.172 kB / 1.42 GB, free: 7.055 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.686e-05/1.109, allocations: 22.97 kB / 1.42 GB, free: 7.039 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.109, allocations: 0 / 1.42 GB, free: 7.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001921/1.109, allocations: 60.23 kB / 1.42 GB, free: 6.992 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.109, allocations: 8 kB / 1.42 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/1.109, allocations: 0 / 1.42 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.109, allocations: 1.156 kB / 1.42 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/1.11, allocations: 9.953 kB / 1.42 GB, free: 6.988 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.11, allocations: 3.938 kB / 1.42 GB, free: 6.984 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/1.11, allocations: 13.33 kB / 1.42 GB, free: 6.977 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/1.11, allocations: 5.125 kB / 1.42 GB, free: 6.973 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.024e-05/1.11, allocations: 113 kB / 1.42 GB, free: 6.855 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/1.11, allocations: 5.297 kB / 1.42 GB, free: 6.852 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/1.11, allocations: 4.719 kB / 1.42 GB, free: 6.848 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.11, allocations: 7.938 kB / 1.42 GB, free: 6.84 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/1.11, allocations: 0 / 1.42 GB, free: 6.84 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.11, allocations: 9.391 kB / 1.42 GB, free: 6.832 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/1.11, allocations: 152.2 kB / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.11, allocations: 0 / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/1.11, allocations: 3.562 kB / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.11, allocations: 336 / 1.42 GB, free: 6.637 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/1.11, allocations: 5.25 kB / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.11, allocations: 0 / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.11, allocations: 0 / 1.42 GB, free: 6.633 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/1.11, allocations: 141.6 kB / 1.42 GB, free: 6.488 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/1.11, allocations: 86 kB / 1.42 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/1.11, allocations: 0.7188 kB / 1.42 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/1.11, allocations: 5.875 kB / 1.42 GB, free: 6.383 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/1.11, allocations: 9.062 kB / 1.42 GB, free: 6.375 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.11, allocations: 1.062 kB / 1.42 GB, free: 6.375 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.218e-05/1.11, allocations: 86.92 kB / 1.42 GB, free: 6.297 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.11, allocations: 0 / 1.42 GB, free: 6.297 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002652/1.111, allocations: 23.77 kB / 1.42 GB, free: 6.285 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.000508/1.111, allocations: 0.685 MB / 1.421 GB, free: 5.609 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000149/1.111, allocations: 22.98 kB / 1.421 GB, free: 5.598 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.111, allocations: 0 / 1.421 GB, free: 5.598 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/1.111, allocations: 4 kB / 1.421 GB, free: 5.598 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/1.112, allocations: 14.06 kB / 1.421 GB, free: 5.59 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/1.112, allocations: 161.3 kB / 1.421 GB, free: 5.43 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.112, allocations: 0.6721 MB / 1.422 GB, free: 4.734 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.768e-05/1.113, allocations: 10.25 kB / 1.422 GB, free: 4.727 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/1.113, allocations: 17.27 kB / 1.422 GB, free: 4.711 MB / 1.107 GB Notification: Performance of SimCode: time 3.81e-07/1.113, allocations: 1.125 kB / 1.422 GB, free: 4.711 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/1.136, allocations: 1.572 MB / 1.423 GB, free: 3.832 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/9.286, allocations: 11.94 kB / 1.423 GB, free: 3.828 MB / 1.107 GB " [Timeout remaining time 291] (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 --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_2/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: 15.491863940987969]