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.001352/0.001352, allocations: 109.6 kB / 16.45 MB, free: 6.035 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.001313/0.001313, allocations: 191.8 kB / 19.41 MB, free: 3.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.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.76/2.76, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 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.002709/0.002709, allocations: 67.89 kB / 1.104 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.821, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.003026/0.8241, allocations: 1.294 MB / 1.27 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1876/1.012, allocations: 148.1 MB / 1.415 GB, free: 15.25 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/1.012, allocations: 4 kB / 1.415 GB, free: 15.24 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/1.012, allocations: 4 kB / 1.415 GB, free: 15.24 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/1.012, allocations: 11.86 kB / 1.415 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/1.012, allocations: 115.4 kB / 1.415 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/1.012, allocations: 27.86 kB / 1.415 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/1.012, allocations: 0 / 1.415 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/1.012, allocations: 11.92 kB / 1.415 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/1.012, allocations: 4 kB / 1.415 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/1.013, allocations: 0 / 1.415 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/1.013, allocations: 183.7 kB / 1.415 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/1.013, allocations: 0 / 1.415 GB, free: 14.89 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/1.013, allocations: 7.938 kB / 1.415 GB, free: 14.88 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/1.013, allocations: 117.5 kB / 1.415 GB, free: 14.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.013, allocations: 4 kB / 1.415 GB, free: 14.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/1.013, allocations: 0 / 1.415 GB, free: 14.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.668e-06/1.013, allocations: 0 / 1.415 GB, free: 14.77 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.0004063/1.014, allocations: 343.2 kB / 1.415 GB, free: 14.39 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.014, allocations: 12.03 kB / 1.415 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/1.014, allocations: 34.75 kB / 1.415 GB, free: 14.33 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/1.014, allocations: 40.84 kB / 1.415 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/1.015, allocations: 172.1 kB / 1.416 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.015, allocations: 4 kB / 1.416 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.015, allocations: 0 / 1.416 GB, free: 14.08 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/1.015, allocations: 45.67 kB / 1.416 GB, free: 14.03 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.015, allocations: 7.984 kB / 1.416 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/1.015, allocations: 0 / 1.416 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.015, allocations: 0 / 1.416 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/1.015, allocations: 19.92 kB / 1.416 GB, free: 14 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/1.015, allocations: 252.8 kB / 1.416 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/1.015, allocations: 30.56 kB / 1.416 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/1.015, allocations: 8.859 kB / 1.416 GB, free: 13.66 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/1.015, allocations: 8 kB / 1.416 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.015, allocations: 30.56 kB / 1.416 GB, free: 13.61 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/1.015, allocations: 0 / 1.416 GB, free: 13.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0001609/1.016, allocations: 41.64 kB / 1.416 GB, free: 13.56 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/1.016, allocations: 55.39 kB / 1.416 GB, free: 13.5 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.016, allocations: 117.9 kB / 1.416 GB, free: 13.37 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.016, allocations: 25.7 kB / 1.416 GB, free: 13.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/1.016, allocations: 84.09 kB / 1.416 GB, free: 13.25 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/1.016, allocations: 7.953 kB / 1.416 GB, free: 13.25 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/1.016, allocations: 21.7 kB / 1.416 GB, free: 13.22 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.016, allocations: 314.8 kB / 1.417 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.636e-05/1.016, allocations: 8 kB / 1.417 GB, free: 12.89 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/1.016, allocations: 19.92 kB / 1.417 GB, free: 12.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.016, allocations: 24.78 kB / 1.417 GB, free: 12.85 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.016, allocations: 0 / 1.417 GB, free: 12.85 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001956/1.017, allocations: 57.67 kB / 1.417 GB, free: 12.79 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.017, allocations: 4 kB / 1.417 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.017, allocations: 4 kB / 1.417 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.017, allocations: 0 / 1.417 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.017, allocations: 11.98 kB / 1.417 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/1.017, allocations: 0 / 1.417 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/1.017, allocations: 15.92 kB / 1.417 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/1.017, allocations: 4 kB / 1.417 GB, free: 12.75 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.176e-05/1.017, allocations: 105.8 kB / 1.417 GB, free: 12.63 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/1.017, allocations: 12.27 kB / 1.417 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/1.017, allocations: 11.12 kB / 1.417 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.017, allocations: 3.984 kB / 1.417 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.017, allocations: 0 / 1.417 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.017, allocations: 7.875 kB / 1.417 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/1.017, allocations: 149.7 kB / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.017, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/1.017, allocations: 4 kB / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/1.017, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/1.017, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.017, allocations: 0 / 1.417 GB, free: 12.4 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.017, allocations: 4 kB / 1.417 GB, free: 12.39 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/1.017, allocations: 147.4 kB / 1.417 GB, free: 12.23 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/1.017, allocations: 77.11 kB / 1.417 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.017, allocations: 0 / 1.417 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.018, allocations: 7.984 kB / 1.417 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/1.018, allocations: 3.938 kB / 1.417 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/1.018, allocations: 0 / 1.417 GB, free: 12.13 MB / 1.123 GB Notification: Performance of sorting global known variables: time 9.834e-05/1.018, allocations: 95.3 kB / 1.417 GB, free: 12.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 0 / 1.417 GB, free: 12.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002481/1.018, allocations: 15.94 kB / 1.417 GB, free: 12.02 MB / 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.0005233/1.018, allocations: 0.6817 MB / 1.418 GB, free: 11.31 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001435/1.019, allocations: 19.97 kB / 1.418 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.019, allocations: 4 kB / 1.418 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/1.019, allocations: 3.938 kB / 1.418 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/1.019, allocations: 22.11 kB / 1.418 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/1.019, allocations: 160.8 kB / 1.418 GB, free: 11.07 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/1.02, allocations: 0.6806 MB / 1.419 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 6.039e-05/1.02, allocations: 4 kB / 1.419 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/1.02, allocations: 11.44 kB / 1.419 GB, free: 10.35 MB / 1.123 GB Notification: Performance of SimCode: time 3.01e-07/1.02, allocations: 0 / 1.419 GB, free: 10.35 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/1.044, allocations: 1.615 MB / 1.421 GB, free: 8.852 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/9.195, allocations: 6.812 kB / 1.421 GB, free: 8.848 MB / 1.123 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 --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_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.281455929856747]