Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001496/0.001496, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00166/0.00166, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.801 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.3/3.3, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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: 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_latest_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_latest_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.002103/0.002103, allocations: 65.12 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4246, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.0025/0.4271, allocations: 1.309 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.4284, allocations: 0.7213 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.4284, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.4285, allocations: 3.984 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.4285, allocations: 3.938 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.429, allocations: 175.2 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.4291, allocations: 23.92 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.4291, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.4292, allocations: 7.984 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.4292, allocations: 11.94 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.4293, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.4296, allocations: 175.7 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4296, allocations: 7.984 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.4296, allocations: 7.938 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.4299, allocations: 155.5 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4299, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.349e-06/0.4299, allocations: 8 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.4299, allocations: 0 / 1.366 GB, free: 10.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000468/0.4304, allocations: 290 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4304, allocations: 8.031 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.4311, allocations: 52.86 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.4312, allocations: 110.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4312, allocations: 4.375 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.4313, allocations: 12.25 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.4314, allocations: 67.95 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4314, allocations: 192 / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4314, allocations: 15.92 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4314, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.4315, allocations: 23.97 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.4317, allocations: 105.3 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.4318, allocations: 62.62 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.4318, allocations: 24.8 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.4319, allocations: 4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4319, allocations: 34.56 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4319, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0002274/0.4321, allocations: 85.61 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4322, allocations: 51.41 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.4322, allocations: 93.86 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4323, allocations: 25.7 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.4323, allocations: 80.14 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.4323, allocations: 27.78 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.4324, allocations: 21.84 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4325, allocations: 314.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.4325, allocations: 15.98 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.4326, allocations: 8 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.915e-05/0.4326, allocations: 36.84 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4326, allocations: 4 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001007/0.4327, allocations: 61.69 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4327, allocations: 6.031 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4327, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4328, allocations: 3.938 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4329, allocations: 23.92 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4329, allocations: 0 / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.4329, allocations: 7.953 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.4329, allocations: 0 / 1.368 GB, free: 9.125 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 (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 8.849e-05/0.433, allocations: 113.8 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.433, allocations: 0 / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.4332, allocations: 85.5 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.4332, allocations: 11.94 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4332, allocations: 0 / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4332, allocations: 0 / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4333, allocations: 109.3 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4334, allocations: 448 / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.4334, allocations: 23.92 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4334, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4335, allocations: 7.938 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4335, allocations: 7.938 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4335, allocations: 3.938 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.4336, allocations: 93.06 kB / 1.368 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.4336, allocations: 12 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.4337, allocations: 0 / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.413e-05/0.4337, allocations: 4 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.4337, allocations: 11.91 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.4337, allocations: 4 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.4338, allocations: 79.22 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4338, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001824/0.434, allocations: 12 kB / 1.369 GB, free: 8.48 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 (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.0001122/0.4341, allocations: 99.33 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.4342, allocations: 35.98 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4342, allocations: 0 / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.4342, allocations: 23.94 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.4344, allocations: 11.92 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.4348, allocations: 141.2 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.4348, allocations: 63.34 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.4349, allocations: 4 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4349, allocations: 15.42 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4349, allocations: 0 / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of Templates: time 0.002884/0.4378, allocations: 0.6048 MB / 1.37 GB, free: 7.473 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.978825291618705]