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.001268/0.001268, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001512/0.001512, allocations: 217.9 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.349/3.349, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 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.002102/0.002102, allocations: 66.31 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3859, allocations: 179 MB / 1.345 GB, free: 440 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002429/0.3883, allocations: 1.29 MB / 1.347 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3899, allocations: 0.943 MB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.3899, allocations: 0 / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.3899, allocations: 4 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.39, allocations: 4 kB / 1.348 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.3906, allocations: 205.4 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.3907, allocations: 11.94 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.3907, allocations: 3.984 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.3908, allocations: 12 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.3908, allocations: 7.922 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3908, allocations: 8 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.3912, allocations: 243.7 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.3912, allocations: 4 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.3913, allocations: 7.938 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3915, allocations: 163.7 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3915, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3915, allocations: 3.938 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3915, allocations: 0 / 1.348 GB, free: 13.51 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.0003952/0.3919, allocations: 290 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.392, allocations: 12.03 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.526e-05/0.392, allocations: 4.188 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.392, allocations: 30.75 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.3923, allocations: 16.92 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.3923, allocations: 110.5 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3924, allocations: 4.125 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.3924, allocations: 4 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3925, allocations: 49.66 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3925, allocations: 4 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3925, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3925, allocations: 0 / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.451e-05/0.3926, allocations: 19.92 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.3927, allocations: 124.8 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008958/0.3936, allocations: 134.5 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.3937, allocations: 16.86 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.529e-05/0.3937, allocations: 19.91 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.3938, allocations: 30.56 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3938, allocations: 0 / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001682/0.3939, allocations: 61.62 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.394, allocations: 55.41 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/0.394, allocations: 101.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3941, allocations: 25.7 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.3941, allocations: 80.14 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.3941, allocations: 11.91 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.3942, allocations: 17.72 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3943, allocations: 310.8 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.3943, allocations: 11.98 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.3943, allocations: 4.125 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.3944, allocations: 32.84 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3944, allocations: 7.875 kB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001/0.3945, allocations: 61.64 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3945, allocations: 4 kB / 1.35 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3945, allocations: 3.938 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3945, allocations: 4 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.445e-05/0.3946, allocations: 4 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3946, allocations: 0 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.3946, allocations: 0 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3946, allocations: 12 kB / 1.35 GB, free: 11.67 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 7.819e-05/0.3947, allocations: 113.8 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.3947, allocations: 0 / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.395, allocations: 85.41 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.395, allocations: 7.984 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.395, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.395, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3951, allocations: 132.7 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3951, allocations: 0 / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.3952, allocations: 11.98 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3952, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3952, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3952, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3952, allocations: 0 / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.3953, allocations: 96.95 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.3953, allocations: 11.94 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3953, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.3954, allocations: 7.984 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.3954, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3954, allocations: 0 / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.3954, allocations: 79.28 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3954, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002693/0.3957, allocations: 51.95 kB / 1.35 GB, free: 11 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.0005974/0.3963, allocations: 0.6866 MB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3964, allocations: 31.92 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3964, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.3964, allocations: 8 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.3966, allocations: 17.36 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.3971, allocations: 175.2 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3975, allocations: 0.6805 MB / 1.352 GB, free: 9.309 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.552e-05/0.3975, allocations: 15.97 kB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.3975, allocations: 11.44 kB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of SimCode: time 3.3e-07/0.3975, allocations: 0 / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4199, allocations: 2.161 MB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 10.25 kB / 1.354 GB, free: 7.266 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.900552483974025]