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.001694/0.001694, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001976/0.001976, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.869/2.869, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002012/0.002012, allocations: 71.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001964/1.183, allocations: 1.317 MB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/1.184, allocations: 0.8031 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/1.184, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/1.184, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/1.184, allocations: 7.359 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/1.184, allocations: 173.1 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/1.184, allocations: 26.2 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/1.184, allocations: 2.844 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/1.184, allocations: 9.25 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/1.184, allocations: 13.05 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/1.184, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003671/1.185, allocations: 295 kB / 1.325 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/1.185, allocations: 11.41 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/1.185, allocations: 9.781 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/1.185, allocations: 174.7 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.185, allocations: 0 / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/1.185, allocations: 4 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.17e-06/1.185, allocations: 0 / 1.325 GB, free: 23.31 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.0003433/1.185, allocations: 378.5 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/1.185, allocations: 12.27 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/1.186, allocations: 46.12 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/1.186, allocations: 176.1 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.186, allocations: 7.125 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/1.186, allocations: 3.062 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.186, allocations: 44.83 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/1.186, allocations: 4.125 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.186, allocations: 10.53 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.186, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/1.186, allocations: 24.67 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/1.187, allocations: 162.3 kB / 1.326 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/1.187, allocations: 61.19 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/1.187, allocations: 25.17 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.187, allocations: 3.984 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/1.187, allocations: 33.25 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/1.187, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0001717/1.187, allocations: 92.08 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/1.187, allocations: 55.41 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.6e-05/1.187, allocations: 92.73 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.187, allocations: 25.7 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.328e-05/1.187, allocations: 80.14 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.187, allocations: 25.64 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/1.187, allocations: 18.91 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/1.187, allocations: 314.1 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/1.187, allocations: 13.88 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/1.187, allocations: 15.81 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/1.187, allocations: 30.61 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.187, allocations: 2.781 kB / 1.326 GB, free: 21.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.396e-05/1.187, allocations: 63.95 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.187, allocations: 5.188 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.187, allocations: 10.14 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.187, allocations: 0 / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.187, allocations: 10.84 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.187, allocations: 3.469 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/1.188, allocations: 6.906 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/1.188, allocations: 0 / 1.326 GB, free: 21.57 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 4.596e-05/1.188, allocations: 112.7 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/1.188, allocations: 2.812 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/1.188, allocations: 91.34 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/1.188, allocations: 4 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/1.188, allocations: 2.562 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/1.188, allocations: 7.875 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.529e-05/1.188, allocations: 168.2 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.188, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/1.188, allocations: 13.72 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.188, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/1.188, allocations: 7.359 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.188, allocations: 6.406 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.188, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/1.188, allocations: 98.36 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/1.188, allocations: 86.84 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.188, allocations: 3.938 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/1.188, allocations: 2.594 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/1.188, allocations: 9.781 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/1.188, allocations: 2.531 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.652e-05/1.188, allocations: 75.28 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.188, allocations: 4.094 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001912/1.188, allocations: 8.406 kB / 1.327 GB, free: 20.9 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 8.939e-05/1.188, allocations: 109 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.978e-05/1.189, allocations: 41.92 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.189, allocations: 0 / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.87e-05/1.189, allocations: 15.31 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/1.189, allocations: 6.234 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/1.189, allocations: 167.2 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/1.189, allocations: 0.6781 MB / 1.328 GB, free: 19.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/1.189, allocations: 13.25 kB / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/1.189, allocations: 0 / 1.328 GB, free: 19.93 MB / 1.061 GB Notification: Performance of Templates: time 0.001938/1.191, allocations: 0.595 MB / 1.329 GB, free: 19.89 MB / 1.061 GB " [Timeout remaining time 299] 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.591728715007775]