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.001866/0.001866, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.002576/0.002576, allocations: 212 kB / 20.13 MB, free: 2.949 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.636/1.636, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.842/2.842, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 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="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.002992/0.002992, allocations: 67.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9179/0.9209, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002512/0.9234, allocations: 1.313 MB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1888/1.112, allocations: 150.9 MB / 1.428 GB, free: 3.789 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/1.112, allocations: 4 kB / 1.428 GB, free: 3.785 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/1.112, allocations: 7.922 kB / 1.428 GB, free: 3.777 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/1.112, allocations: 7.922 kB / 1.428 GB, free: 3.77 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/1.113, allocations: 115.5 kB / 1.428 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/1.113, allocations: 19.88 kB / 1.428 GB, free: 3.637 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/1.113, allocations: 4 kB / 1.428 GB, free: 3.633 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/1.113, allocations: 7.938 kB / 1.428 GB, free: 3.625 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/1.113, allocations: 3.984 kB / 1.428 GB, free: 3.621 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/1.113, allocations: 8 kB / 1.428 GB, free: 3.613 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004719/1.114, allocations: 183.6 kB / 1.428 GB, free: 3.434 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/1.114, allocations: 3.938 kB / 1.428 GB, free: 3.43 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/1.114, allocations: 8 kB / 1.428 GB, free: 3.422 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/1.114, allocations: 121.4 kB / 1.428 GB, free: 3.309 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.114, allocations: 0 / 1.428 GB, free: 3.309 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.034e-06/1.114, allocations: 0 / 1.428 GB, free: 3.309 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.204e-06/1.114, allocations: 0 / 1.428 GB, free: 3.309 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.0004867/1.114, allocations: 355.2 kB / 1.428 GB, free: 2.914 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.114, allocations: 12.03 kB / 1.428 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.591e-05/1.114, allocations: 192 / 1.428 GB, free: 2.902 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/1.114, allocations: 38.69 kB / 1.428 GB, free: 2.855 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006366/1.115, allocations: 32.89 kB / 1.428 GB, free: 2.824 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/1.115, allocations: 175.9 kB / 1.429 GB, free: 2.613 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.115, allocations: 7.938 kB / 1.429 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/1.115, allocations: 0 / 1.429 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/1.115, allocations: 45.66 kB / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/1.115, allocations: 0 / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.116, allocations: 0 / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.116, allocations: 0 / 1.429 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/1.116, allocations: 23.97 kB / 1.429 GB, free: 2.531 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/1.116, allocations: 256.9 kB / 1.429 GB, free: 2.23 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.674e-05/1.116, allocations: 26.52 kB / 1.429 GB, free: 2.195 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/1.116, allocations: 12.91 kB / 1.429 GB, free: 2.18 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/1.116, allocations: 0 / 1.429 GB, free: 2.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.116, allocations: 30.56 kB / 1.429 GB, free: 2.141 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.116, allocations: 4 kB / 1.429 GB, free: 2.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/1.116, allocations: 41.7 kB / 1.429 GB, free: 2.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.116, allocations: 51.41 kB / 1.429 GB, free: 2.027 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/1.117, allocations: 125.7 kB / 1.429 GB, free: 1.895 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/1.117, allocations: 25.7 kB / 1.429 GB, free: 1.863 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/1.117, allocations: 84.14 kB / 1.429 GB, free: 1.777 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/1.117, allocations: 3.953 kB / 1.429 GB, free: 1.773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/1.117, allocations: 25.83 kB / 1.429 GB, free: 1.742 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.117, allocations: 310.8 kB / 1.43 GB, free: 1.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/1.117, allocations: 11.98 kB / 1.43 GB, free: 1.418 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/1.117, allocations: 7.984 kB / 1.43 GB, free: 1.41 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/1.117, allocations: 24.84 kB / 1.43 GB, free: 1.383 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.117, allocations: 0 / 1.43 GB, free: 1.383 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002096/1.117, allocations: 65.62 kB / 1.43 GB, free: 1.312 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.117, allocations: 4 kB / 1.43 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.117, allocations: 4 kB / 1.43 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.117, allocations: 0 / 1.43 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/1.118, allocations: 11.92 kB / 1.43 GB, free: 1.293 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.118, allocations: 3.938 kB / 1.43 GB, free: 1.289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/1.118, allocations: 15.92 kB / 1.43 GB, free: 1.273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/1.118, allocations: 4 kB / 1.43 GB, free: 1.27 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 7.702e-05/1.118, allocations: 113.8 kB / 1.43 GB, free: 1.148 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/1.118, allocations: 4 kB / 1.43 GB, free: 1.145 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/1.118, allocations: 3.125 kB / 1.43 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.118, allocations: 0 / 1.43 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.118, allocations: 7.922 kB / 1.43 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/1.118, allocations: 0 / 1.43 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/1.118, allocations: 153.7 kB / 1.43 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.118, allocations: 0 / 1.43 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/1.118, allocations: 8 kB / 1.43 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/1.118, allocations: 0 / 1.43 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/1.118, allocations: 0 / 1.43 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.118, allocations: 0 / 1.43 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.118, allocations: 3.938 kB / 1.43 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/1.118, allocations: 139.5 kB / 1.43 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/1.118, allocations: 81.06 kB / 1.43 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.118, allocations: 0 / 1.43 GB, free: 0.668 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/1.118, allocations: 8.031 kB / 1.43 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/1.118, allocations: 3.938 kB / 1.43 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.118, allocations: 4 kB / 1.43 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of sorting global known variables: time 9.665e-05/1.118, allocations: 87.27 kB / 1.43 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.118, allocations: 0 / 1.43 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002474/1.119, allocations: 23.92 kB / 1.43 GB, free: 0.543 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.0005597/1.119, allocations: 0.6778 MB / 1.431 GB, free: 15.84 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000169/1.119, allocations: 23.92 kB / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.119, allocations: 0 / 1.431 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/1.119, allocations: 4 kB / 1.431 GB, free: 15.81 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/1.12, allocations: 16.02 kB / 1.431 GB, free: 15.8 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/1.12, allocations: 152.8 kB / 1.431 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/1.121, allocations: 0.6767 MB / 1.432 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.385e-05/1.121, allocations: 12.5 kB / 1.432 GB, free: 14.89 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/1.121, allocations: 15.42 kB / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/1.121, allocations: 0 / 1.432 GB, free: 14.88 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/1.139, allocations: 1.656 MB / 1.434 GB, free: 13.37 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.594, allocations: 19.97 kB / 1.434 GB, free: 13.35 MB / 1.123 GB " [Timeout remaining time 290] (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: 16.20492412301246]