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.001217/0.001217, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001481/0.001481, allocations: 214.4 kB / 22.25 MB, free: 5.117 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.777 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.474/3.474, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",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.002091/0.002091, allocations: 68.3 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002476/0.3997, allocations: 1.286 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4013, allocations: 0.8547 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.4013, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.4013, allocations: 0 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.4014, allocations: 7.938 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.402, allocations: 210.9 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.4021, allocations: 19.86 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.4021, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.4022, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.4022, allocations: 15.97 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.4022, allocations: 0 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.4026, allocations: 234.6 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.4027, allocations: 11.98 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.4027, allocations: 4 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.403, allocations: 159.6 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.403, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.403, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.403, allocations: 0 / 1.366 GB, free: 11.24 MB / 1.061 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.0004265/0.4034, allocations: 286.1 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4034, allocations: 12.03 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.4035, allocations: 30.75 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.4037, allocations: 20.92 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.4038, allocations: 110.5 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.4038, allocations: 384 / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.4038, allocations: 7.938 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.404, allocations: 71.33 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.404, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.404, allocations: 4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.404, allocations: 3.938 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.4041, allocations: 19.97 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.4042, allocations: 132.8 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.4051, allocations: 138.4 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.4051, allocations: 20.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-05/0.4052, allocations: 7.984 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4053, allocations: 34.56 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4053, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.4054, allocations: 65.69 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4055, allocations: 51.41 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.4055, allocations: 89.86 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4056, allocations: 29.7 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.4056, allocations: 80.14 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.4056, allocations: 19.88 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.4057, allocations: 17.72 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4058, allocations: 310.8 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.4058, allocations: 15.92 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.4058, allocations: 8 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.4059, allocations: 28.97 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4059, allocations: 4 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.823e-05/0.406, allocations: 57.62 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.406, allocations: 5.719 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.406, allocations: 0 / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.406, allocations: 0 / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.4061, allocations: 8 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4061, allocations: 3.938 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.4061, allocations: 0 / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4061, allocations: 0 / 1.368 GB, free: 9.383 MB / 1.061 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.474e-05/0.4062, allocations: 122.9 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.4062, allocations: 4 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4065, allocations: 77.14 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4065, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4065, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.4065, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4066, allocations: 140.6 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4066, allocations: 4 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.4066, allocations: 8.266 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4066, allocations: 11.88 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4067, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4067, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4067, allocations: 0 / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.4068, allocations: 93.11 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.4068, allocations: 7.984 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4068, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.4069, allocations: 8 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.4069, allocations: 3.984 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4069, allocations: 4 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.58e-05/0.407, allocations: 79.28 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.407, allocations: 0 / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002603/0.4072, allocations: 47.88 kB / 1.368 GB, free: 8.699 MB / 1.061 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.0006027/0.4078, allocations: 0.6825 MB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4079, allocations: 20 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4079, allocations: 0 / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.408, allocations: 23.92 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.4081, allocations: 12.09 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.4086, allocations: 162.6 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.4087, allocations: 59.34 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.4087, allocations: 8 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.4088, allocations: 23.36 kB / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.4088, allocations: 0 / 1.369 GB, free: 7.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.4377, allocations: 2.566 MB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.72, allocations: 12 kB / 1.372 GB, free: 5.199 MB / 1.061 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.916355764027685]