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.001326/0.001326, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001353/0.001353, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.799/2.799, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 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.002055/0.002055, allocations: 66 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3766, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00268/0.3793, allocations: 1.311 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1934/0.5726, allocations: 150.9 MB / 1.433 GB, free: 2.902 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.5727, allocations: 0 / 1.433 GB, free: 2.902 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.5727, allocations: 0 / 1.433 GB, free: 2.902 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.776e-05/0.5728, allocations: 15.91 kB / 1.433 GB, free: 2.887 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.5734, allocations: 111.4 kB / 1.433 GB, free: 2.777 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.5735, allocations: 27.86 kB / 1.433 GB, free: 2.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.5736, allocations: 0 / 1.433 GB, free: 2.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.5737, allocations: 8 kB / 1.433 GB, free: 2.742 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.5737, allocations: 11.88 kB / 1.433 GB, free: 2.73 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.5737, allocations: 0 / 1.433 GB, free: 2.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.5743, allocations: 179.7 kB / 1.433 GB, free: 2.555 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.5743, allocations: 7.984 kB / 1.433 GB, free: 2.547 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.5743, allocations: 11.94 kB / 1.433 GB, free: 2.535 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.5746, allocations: 103.7 kB / 1.433 GB, free: 2.441 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5746, allocations: 4 kB / 1.433 GB, free: 2.438 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5746, allocations: 0 / 1.433 GB, free: 2.438 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5746, allocations: 0 / 1.433 GB, free: 2.438 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.0004671/0.5751, allocations: 282 kB / 1.434 GB, free: 2.133 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5752, allocations: 12.03 kB / 1.434 GB, free: 2.121 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.579e-05/0.5752, allocations: 4.125 kB / 1.434 GB, free: 2.117 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.5752, allocations: 30.75 kB / 1.434 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.5759, allocations: 44.88 kB / 1.434 GB, free: 2.035 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.576, allocations: 114.1 kB / 1.434 GB, free: 1.898 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.576, allocations: 0 / 1.434 GB, free: 1.898 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.576, allocations: 0 / 1.434 GB, free: 1.898 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.5762, allocations: 49.66 kB / 1.434 GB, free: 1.844 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5762, allocations: 0 / 1.434 GB, free: 1.844 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5763, allocations: 3.938 kB / 1.434 GB, free: 1.84 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5763, allocations: 0 / 1.434 GB, free: 1.84 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.5764, allocations: 19.98 kB / 1.434 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.5768, allocations: 239.8 kB / 1.434 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 7.424e-05/0.5769, allocations: 18.58 kB / 1.434 GB, free: 1.516 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.577, allocations: 8.922 kB / 1.434 GB, free: 1.504 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.577, allocations: 0 / 1.434 GB, free: 1.504 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.577, allocations: 38.56 kB / 1.434 GB, free: 1.457 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.577, allocations: 0 / 1.434 GB, free: 1.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0001943/0.5772, allocations: 45.62 kB / 1.434 GB, free: 1.406 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.5773, allocations: 55.41 kB / 1.434 GB, free: 1.34 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5774, allocations: 109.8 kB / 1.434 GB, free: 1.223 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.5774, allocations: 25.7 kB / 1.434 GB, free: 1.191 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.5775, allocations: 84.14 kB / 1.434 GB, free: 1.105 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.5775, allocations: 12.02 kB / 1.434 GB, free: 1.094 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.5776, allocations: 21.7 kB / 1.434 GB, free: 1.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5778, allocations: 314.8 kB / 1.435 GB, free: 0.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.5778, allocations: 11.98 kB / 1.435 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.095e-05/0.5779, allocations: 8 kB / 1.435 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.578, allocations: 25.11 kB / 1.435 GB, free: 0.7031 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.578, allocations: 7.938 kB / 1.435 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.5782, allocations: 61.56 kB / 1.435 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5782, allocations: 7.984 kB / 1.435 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5782, allocations: 4 kB / 1.435 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5783, allocations: 0 / 1.435 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.5784, allocations: 7.984 kB / 1.435 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.5784, allocations: 3.938 kB / 1.435 GB, free: 0.6055 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.5785, allocations: 16 kB / 1.435 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.5785, allocations: 0 / 1.435 GB, free: 0.5898 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 0.0001319/0.5787, allocations: 109.8 kB / 1.435 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.5787, allocations: 4 kB / 1.435 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.5787, allocations: 3.312 kB / 1.435 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5787, allocations: 4 kB / 1.435 GB, free: 472 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.5788, allocations: 3.938 kB / 1.435 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5788, allocations: 0 / 1.435 GB, free: 468 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.5789, allocations: 124.8 kB / 1.435 GB, free: 300 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.579, allocations: 4 kB / 1.435 GB, free: 296 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.911e-05/0.579, allocations: 4 kB / 1.435 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.579, allocations: 0 / 1.435 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.579, allocations: 0 / 1.435 GB, free: 292 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.579, allocations: 3.938 kB / 1.435 GB, free: 288 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.579, allocations: 7.922 kB / 1.435 GB, free: 280 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.5792, allocations: 139.5 kB / 1.435 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.5792, allocations: 11.98 kB / 1.435 GB, free: 112 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.5792, allocations: 4 kB / 1.435 GB, free: 108 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.5793, allocations: 3.984 kB / 1.435 GB, free: 104 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.5793, allocations: 3.938 kB / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.5793, allocations: 0 / 1.435 GB, free: 100 kB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001072/0.5794, allocations: 91.27 kB / 1.435 GB, free: 8 kB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5794, allocations: 0 / 1.435 GB, free: 8 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002822/0.5797, allocations: 16.09 kB / 1.435 GB, free: 15.99 MB / 1.139 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.0006517/0.5804, allocations: 0.6812 MB / 1.436 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.5805, allocations: 15.98 kB / 1.436 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5805, allocations: 0 / 1.436 GB, free: 15.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.5806, allocations: 8.031 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.581, allocations: 11.88 kB / 1.436 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.5817, allocations: 165.1 kB / 1.436 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5821, allocations: 0.6768 MB / 1.437 GB, free: 14.34 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.691e-05/0.5821, allocations: 4.062 kB / 1.437 GB, free: 14.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.5822, allocations: 11.44 kB / 1.437 GB, free: 14.33 MB / 1.139 GB Notification: Performance of SimCode: time 9.02e-07/0.5822, allocations: 0 / 1.437 GB, free: 14.33 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.607, allocations: 1.735 MB / 1.439 GB, free: 12.74 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.8, allocations: 6.438 kB / 1.439 GB, free: 12.73 MB / 1.139 GB " [Timeout remaining time 287] (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.91502356197452]