Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001712/0.001712, 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.002297/0.002297, allocations: 219.2 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.808/2.808, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 177] 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.pW_TDewPoi,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_11_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.002017/0.002017, allocations: 61.5 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002655/0.3545, allocations: 1.288 MB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3562, allocations: 0.8477 MB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.3562, allocations: 0 / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.3562, allocations: 3.938 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.3563, allocations: 7.984 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.357, allocations: 203.3 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.357, allocations: 19.92 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.3571, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.3571, allocations: 4 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.3572, allocations: 7.938 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3572, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.3576, allocations: 250.9 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.3576, allocations: 8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.3576, allocations: 7.984 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.3579, allocations: 156.7 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3579, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3579, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3579, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 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.0004763/0.3584, allocations: 282.1 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3585, allocations: 12.03 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.374e-05/0.3585, allocations: 8.125 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.827e-05/0.3585, allocations: 34.69 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.3588, allocations: 24.88 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3589, allocations: 106.5 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3589, allocations: 8.125 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.3589, allocations: 0 / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3591, allocations: 71.38 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3591, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3591, allocations: 4 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3591, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.3592, allocations: 23.92 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.3593, allocations: 124.8 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3604, allocations: 134.5 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.3604, allocations: 16.84 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.3605, allocations: 8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3606, allocations: 34.56 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3606, allocations: 0 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002149/0.3608, allocations: 65.8 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3608, allocations: 59.34 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.3609, allocations: 93.86 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3609, allocations: 25.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.361, allocations: 84.14 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.361, allocations: 15.89 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.3611, allocations: 17.72 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3612, allocations: 310.8 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.3612, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.3612, allocations: 15.97 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.3613, allocations: 24.86 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3613, allocations: 8.062 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.3614, allocations: 57.62 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3614, allocations: 10.33 kB / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3614, allocations: 0 / 1.288 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3614, allocations: 4 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.3615, allocations: 4 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.3615, allocations: 7.922 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.3615, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3615, allocations: 4 kB / 1.288 GB, free: 6.051 MB / 0.9825 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 0.0001007/0.3616, allocations: 115.1 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.3617, allocations: 11.95 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.362, allocations: 81.06 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.362, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.362, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.362, allocations: 0 / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3621, allocations: 140.7 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3622, allocations: 4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.3622, allocations: 8 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3622, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3622, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3622, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3622, allocations: 4 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3624, allocations: 93.06 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.3624, allocations: 3.984 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.3624, allocations: 4 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.141e-05/0.3625, allocations: 4 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.3625, allocations: 0 / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3625, allocations: 11.94 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.3625, allocations: 75.28 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3625, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002715/0.3628, allocations: 55.86 kB / 1.289 GB, free: 5.375 MB / 0.9825 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.0006072/0.3634, allocations: 0.6786 MB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.3635, allocations: 27.92 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3635, allocations: 0 / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.3636, allocations: 19.98 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.3637, allocations: 14.09 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.3643, allocations: 172.4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.844e-05/0.3643, allocations: 59.34 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.842e-05/0.3644, allocations: 8 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.3644, allocations: 15.67 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.3644, allocations: 0 / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.3866, allocations: 2.239 MB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 9.25 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.001172818941996]