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.001637/0.001637, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001846/0.001846, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.362/3.362, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.002148/0.002148, allocations: 65.92 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002381/0.3605, allocations: 1.297 MB / 1.366 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3617, allocations: 0.7291 MB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.3617, allocations: 0 / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.3617, allocations: 7.875 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.3618, allocations: 4 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.3622, allocations: 171.2 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.3623, allocations: 23.86 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.3623, allocations: 0 / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.3624, allocations: 15.98 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3624, allocations: 11.92 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.3625, allocations: 0 / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.3628, allocations: 163.8 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.3628, allocations: 8 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3628, allocations: 15.92 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3631, allocations: 151.5 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3631, allocations: 4 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3631, allocations: 0 / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.3631, allocations: 0 / 1.367 GB, free: 11.01 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.0004082/0.3635, allocations: 290 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3635, allocations: 8.031 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.3642, allocations: 56.86 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.3643, allocations: 110.4 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3643, allocations: 384 / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3643, allocations: 12.36 kB / 1.368 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3645, allocations: 71.94 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3645, allocations: 192 / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3645, allocations: 7.938 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3645, allocations: 0 / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.593e-05/0.3646, allocations: 23.98 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3647, allocations: 113.3 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3648, allocations: 58.59 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.182e-05/0.3649, allocations: 20.89 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3649, allocations: 4 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3649, allocations: 30.56 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3649, allocations: 0 / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0001879/0.3651, allocations: 81.56 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3651, allocations: 51.41 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.3652, allocations: 101.8 kB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3652, allocations: 29.83 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3653, allocations: 84.08 kB / 1.368 GB, free: 9.723 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.3653, allocations: 27.78 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.3653, allocations: 21.64 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3655, allocations: 314.8 kB / 1.369 GB, free: 9.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.3655, allocations: 12 kB / 1.369 GB, free: 9.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.3655, allocations: 15.98 kB / 1.369 GB, free: 9.324 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.3656, allocations: 28.86 kB / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3656, allocations: 0 / 1.369 GB, free: 9.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001113/0.3657, allocations: 66 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3657, allocations: 4 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3657, allocations: 4.062 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3657, allocations: 7.938 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3659, allocations: 15.98 kB / 1.369 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3659, allocations: 4 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.3659, allocations: 7.953 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3659, allocations: 0 / 1.369 GB, free: 9.18 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.415e-05/0.366, allocations: 114.9 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.366, allocations: 0 / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.3662, allocations: 97.45 kB / 1.369 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3662, allocations: 3.938 kB / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3662, allocations: 0 / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3662, allocations: 0 / 1.369 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3663, allocations: 109.3 kB / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3663, allocations: 0 / 1.369 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.066e-05/0.3664, allocations: 12 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3664, allocations: 7.969 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.3665, allocations: 4 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3665, allocations: 8 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3665, allocations: 3.938 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3666, allocations: 101.1 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.3666, allocations: 7.984 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.3667, allocations: 0 / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.3667, allocations: 8 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.3667, allocations: 7.922 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3667, allocations: 4 kB / 1.369 GB, free: 8.625 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.3668, allocations: 79.22 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3668, allocations: 0 / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001913/0.367, allocations: 16.09 kB / 1.369 GB, free: 8.531 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.0001045/0.3671, allocations: 95.25 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3672, allocations: 35.92 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3672, allocations: 0 / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.3672, allocations: 23.98 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.3674, allocations: 9.656 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3678, allocations: 164.5 kB / 1.37 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.3678, allocations: 63.36 kB / 1.37 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.3679, allocations: 15.42 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.3679, allocations: 3.938 kB / 1.37 GB, free: 8.078 MB / 1.061 GB Notification: Performance of Templates: time 0.002111/0.37, allocations: 0.6074 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/jenkins1/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: 11.327422310132533]