Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.001837/0.001837, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00206/0.00206, allocations: 213.2 kB / 23 MB, free: 4.566 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.49 GB / 0.7958 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [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.002376/0.002376, allocations: 68.34 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3861, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002393/0.3885, allocations: 1.311 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3898, allocations: 0.8136 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.3899, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.3899, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.3899, allocations: 7.984 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.3905, allocations: 171.2 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.3905, allocations: 23.86 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3906, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.3906, allocations: 7.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.3907, allocations: 15.98 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3907, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.3912, allocations: 291.5 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.3912, allocations: 4 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.3912, allocations: 7.938 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.3915, allocations: 183.4 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3915, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3915, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3915, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004485/0.392, allocations: 301.9 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.392, allocations: 12.03 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.3927, allocations: 44.88 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3928, allocations: 106.5 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3929, allocations: 4.359 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.3929, allocations: 8.312 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.393, allocations: 62.17 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.393, allocations: 192 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.393, allocations: 3.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.393, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.692e-05/0.3931, allocations: 27.97 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.3933, allocations: 132.7 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3934, allocations: 58.66 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.3934, allocations: 24.89 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3935, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3935, allocations: 42.44 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.3935, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000198/0.3937, allocations: 81.58 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3937, allocations: 51.41 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.3938, allocations: 101.8 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3938, allocations: 25.7 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.3939, allocations: 84.14 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3939, allocations: 11.84 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.3939, allocations: 21.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3941, allocations: 318.8 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.3941, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.3941, allocations: 11.98 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.277e-05/0.3942, allocations: 36.92 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3942, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001073/0.3943, allocations: 65.64 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3943, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3943, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3943, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3945, allocations: 15.98 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3945, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.3945, allocations: 4.438 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3945, allocations: 3.984 kB / 1.332 GB, free: 12.75 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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 9.32e-05/0.3946, allocations: 122.3 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.3946, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.3948, allocations: 93.45 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3948, allocations: 7.938 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3948, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3948, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.395, allocations: 140.7 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.395, allocations: 3.984 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3951, allocations: 19.94 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3951, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3951, allocations: 3.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3951, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3951, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3952, allocations: 97.09 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3953, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3953, allocations: 11.94 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.3954, allocations: 7.984 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.3954, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.3954, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.3954, allocations: 75.28 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 3.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001959/0.3956, allocations: 12 kB / 1.332 GB, free: 12.07 MB / 1.029 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 (7): * Single equations (assignments): 7 * 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.0001227/0.3957, allocations: 107.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3958, allocations: 35.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3959, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.3959, allocations: 23.92 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3961, allocations: 8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.3965, allocations: 160.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3968, allocations: 0.6807 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.3968, allocations: 15.44 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3968, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of Templates: time 0.002083/0.3989, allocations: 0.5973 MB / 1.334 GB, free: 10.39 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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: 11.30028103699442]