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.001809/0.001809, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002232/0.002232, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.5/1.5, allocations: 230.6 MB / 256 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.344/3.344, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") [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.002109/0.002109, allocations: 67.88 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 181.9 MB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002645/0.3954, allocations: 1.29 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3971, allocations: 0.8589 MB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.3971, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.3972, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.3972, allocations: 3.938 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007921/0.398, allocations: 201.7 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.083e-05/0.3981, allocations: 19.94 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.3981, allocations: 11.97 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.3982, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.3982, allocations: 11.94 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.3982, allocations: 0 / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.3987, allocations: 227.7 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.3987, allocations: 7.984 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.3987, allocations: 4 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.399, allocations: 163.5 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.399, allocations: 0 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.433e-06/0.399, allocations: 8 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.399, allocations: 0 / 1.367 GB, free: 10.82 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.0004347/0.3995, allocations: 280.2 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3995, allocations: 8.031 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/0.3998, allocations: 20.91 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.3999, allocations: 110.5 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3999, allocations: 4.375 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3999, allocations: 4.125 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4001, allocations: 67.39 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4001, allocations: 11.92 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4001, allocations: 3.984 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4001, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.4001, allocations: 19.88 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.4003, allocations: 113.3 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.4012, allocations: 126.6 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.4012, allocations: 20.86 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.4013, allocations: 11.98 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4013, allocations: 38.5 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4013, allocations: 0 / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001803/0.4015, allocations: 61.62 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4016, allocations: 51.41 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.4016, allocations: 101.8 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.4017, allocations: 25.7 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.4017, allocations: 80.14 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.4017, allocations: 7.906 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.4018, allocations: 21.84 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4019, allocations: 318.8 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.4019, allocations: 8 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.4019, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.402, allocations: 28.84 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.402, allocations: 0 / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.735e-05/0.4021, allocations: 61.56 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4021, allocations: 5.094 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4021, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4021, allocations: 0 / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.4022, allocations: 8 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4022, allocations: 7.984 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.4022, allocations: 0 / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.4022, allocations: 4 kB / 1.368 GB, free: 9.047 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 9.245e-05/0.4023, allocations: 109.8 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.4024, allocations: 3.938 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.4026, allocations: 93.08 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4026, allocations: 3.938 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4026, allocations: 336 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4026, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.4027, allocations: 113.3 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4027, allocations: 0 / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.4028, allocations: 4 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4028, allocations: 11.92 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4028, allocations: 3.938 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4028, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4028, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.4029, allocations: 89.06 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.403, allocations: 7.984 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.403, allocations: 3.938 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.403, allocations: 4 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.403, allocations: 7.984 kB / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.403, allocations: 0 / 1.369 GB, free: 8.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.4031, allocations: 79.28 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4031, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002572/0.4033, allocations: 47.88 kB / 1.369 GB, free: 8.402 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.0002804/0.4036, allocations: 163.2 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.4037, allocations: 24 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4037, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.4038, allocations: 19.92 kB / 1.369 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.4039, allocations: 4 kB / 1.369 GB, free: 8.184 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.4043, allocations: 114.9 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.4044, allocations: 63.34 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.721e-05/0.4044, allocations: 11.98 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.4044, allocations: 15.38 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4044, allocations: 0 / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of Templates: time 0.004267/0.4087, allocations: 1.191 MB / 1.37 GB, free: 6.77 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 800] 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/jenkins/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: 9.138522543013096]