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.001626/0.001626, 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.002125/0.002125, allocations: 216.3 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.777 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.242/3.242, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002217/0.002217, allocations: 72.92 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3697, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002991/0.3727, allocations: 1.305 MB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3741, allocations: 0.7203 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.3741, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.3741, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.002e-05/0.3742, allocations: 11.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3747, allocations: 167.2 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.379e-05/0.3747, allocations: 19.94 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3748, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.3748, allocations: 15.92 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.3749, allocations: 15.98 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.3749, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.3752, allocations: 167.7 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.3752, allocations: 11.92 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.3753, allocations: 8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3755, allocations: 151.5 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3756, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3756, allocations: 0 / 1.328 GB, free: 15.21 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.0004439/0.376, allocations: 297.9 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.376, allocations: 12.03 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006926/0.3767, allocations: 48.88 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/0.3768, allocations: 106.5 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3768, allocations: 384 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.3769, allocations: 12.3 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.377, allocations: 71.95 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.377, allocations: 12.06 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.377, allocations: 7.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.377, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.3771, allocations: 27.97 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3772, allocations: 101.3 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3774, allocations: 58.59 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.3774, allocations: 24.89 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3775, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.3775, allocations: 34.56 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3775, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002124/0.3777, allocations: 89.56 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3777, allocations: 51.41 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.3778, allocations: 93.86 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3778, allocations: 29.7 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.3779, allocations: 80.14 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3779, allocations: 19.83 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.378, allocations: 21.66 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3781, allocations: 314.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.3781, allocations: 11.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.3781, allocations: 8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.3782, allocations: 40.97 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3782, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001057/0.3783, allocations: 65.64 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3783, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3783, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3784, allocations: 3.938 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3785, allocations: 19.92 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3785, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.3785, allocations: 4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3785, allocations: 4 kB / 1.33 GB, free: 13.38 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.084e-05/0.3786, allocations: 117 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.3786, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3789, allocations: 93.48 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3789, allocations: 7.938 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3789, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3789, allocations: 3.938 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.379, allocations: 109.3 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.379, allocations: 8.375 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.3791, allocations: 15.98 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3791, allocations: 3.984 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3791, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.3791, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3791, allocations: 7.875 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.3793, allocations: 97.09 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.3793, allocations: 4 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3793, allocations: 0 / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.717e-05/0.3794, allocations: 8 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.3794, allocations: 7.922 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.3794, allocations: 11.94 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.3795, allocations: 75.28 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3795, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002081/0.3797, allocations: 8 kB / 1.33 GB, free: 12.73 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.000123/0.3798, allocations: 103.2 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3799, allocations: 35.98 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.3799, allocations: 0 / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.38, allocations: 19.94 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3802, allocations: 12.08 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3806, allocations: 134.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.346e-05/0.3806, allocations: 63.34 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.3807, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.3807, allocations: 11.44 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of SimCode: time 4.9e-07/0.3807, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Templates: time 0.003181/0.3839, allocations: 0.6009 MB / 1.331 GB, free: 11.71 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/jenkins/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: 9.125470094382763]