Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001321/0.001321, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001482/0.001482, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.336/3.336, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.002034/0.002034, allocations: 62.19 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002495/0.3953, allocations: 1.294 MB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3968, allocations: 0.8381 MB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.3968, allocations: 0 / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.3969, allocations: 7.922 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.3969, allocations: 0 / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.3976, allocations: 209.9 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.3977, allocations: 19.88 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.3977, allocations: 3.984 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.45e-05/0.3977, allocations: 8 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.3978, allocations: 7.984 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.3978, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.3982, allocations: 245.1 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.3982, allocations: 11.94 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.3982, allocations: 7.984 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3985, allocations: 159.6 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3985, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3985, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3985, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004305/0.3989, allocations: 278.1 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.399, allocations: 16.03 kB / 1.348 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.823e-05/0.399, allocations: 12.06 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.399, allocations: 34.73 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3993, allocations: 16.92 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.3994, allocations: 106.5 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3994, allocations: 8.125 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3994, allocations: 0 / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3996, allocations: 71.38 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3996, allocations: 0 / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3996, allocations: 8 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3996, allocations: 0 / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.3997, allocations: 15.98 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3998, allocations: 128.7 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.4008, allocations: 130.4 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.4008, allocations: 20.91 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.503e-05/0.4009, allocations: 12 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.401, allocations: 34.56 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/0.401, allocations: 3.984 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.4012, allocations: 69.56 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4012, allocations: 51.41 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.4013, allocations: 93.86 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4013, allocations: 25.7 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.4013, allocations: 88.12 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.4013, allocations: 7.953 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.4014, allocations: 25.66 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4015, allocations: 315 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.4015, allocations: 4 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.4016, allocations: 11.98 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.4016, allocations: 24.86 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4016, allocations: 3.938 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.534e-05/0.4017, allocations: 61.62 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4017, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4017, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4018, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.4018, allocations: 7.984 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4018, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.4018, allocations: 4 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.4019, allocations: 4 kB / 1.35 GB, free: 11.27 MB / 1.045 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 (4): * Single equations (assignments): 4 * 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.272e-05/0.4019, allocations: 113.8 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.402, allocations: 4 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.4022, allocations: 88.98 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4022, allocations: 4 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4022, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4022, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.4024, allocations: 132.7 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4024, allocations: 0 / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.4024, allocations: 15.92 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4024, allocations: 0 / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4024, allocations: 0 / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4024, allocations: 0 / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4024, allocations: 0 / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4026, allocations: 96.95 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.4026, allocations: 4 kB / 1.35 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.4026, allocations: 4 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.668e-05/0.4027, allocations: 7.984 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4027, allocations: 0 / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4027, allocations: 4 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.4027, allocations: 75.28 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4027, allocations: 0 / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002718/0.403, allocations: 55.86 kB / 1.35 GB, free: 10.59 MB / 1.045 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 (5): * Single equations (assignments): 5 * 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.000588/0.4036, allocations: 0.6788 MB / 1.351 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4037, allocations: 32.02 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4037, allocations: 0 / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.4037, allocations: 12 kB / 1.351 GB, free: 9.84 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.4039, allocations: 11.98 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.4044, allocations: 168.4 kB / 1.351 GB, free: 9.621 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.4045, allocations: 59.78 kB / 1.351 GB, free: 9.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.799e-05/0.4045, allocations: 15.97 kB / 1.351 GB, free: 9.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.4046, allocations: 19.38 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4046, allocations: 0 / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.4256, allocations: 2.237 MB / 1.353 GB, free: 7.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 12.22 kB / 1.353 GB, free: 7.422 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.995892299921252]