Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001907/0.001907, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002486/0.002486, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.961/2.961, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002188/0.002188, allocations: 68.42 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3506, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.003217/0.3538, allocations: 1.303 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.3553, allocations: 0.726 MB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.961e-05/0.3553, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.3553, allocations: 3.938 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.3554, allocations: 7.969 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.3559, allocations: 171.2 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.356, allocations: 31.8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.3561, allocations: 0 / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.163e-05/0.3561, allocations: 11.98 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.3562, allocations: 11.94 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3562, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003545/0.3565, allocations: 167.8 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.3566, allocations: 4 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3566, allocations: 15.92 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3569, allocations: 155.6 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3569, allocations: 7.938 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3569, allocations: 0 / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3569, allocations: 0 / 1.286 GB, free: 9.359 MB / 0.9825 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.0005423/0.3575, allocations: 293.9 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3575, allocations: 8.031 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.3583, allocations: 56.83 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3584, allocations: 110.5 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3584, allocations: 384 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3585, allocations: 4.375 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3586, allocations: 71.95 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3586, allocations: 192 / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3587, allocations: 7.938 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3587, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.3587, allocations: 31.84 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.3589, allocations: 109.3 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.359, allocations: 54.66 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.3591, allocations: 24.89 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3591, allocations: 4 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3592, allocations: 30.56 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002245/0.3594, allocations: 85.73 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3594, allocations: 51.41 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.3595, allocations: 93.86 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3595, allocations: 25.83 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.3596, allocations: 84.14 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.3596, allocations: 23.8 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.3597, allocations: 21.7 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3598, allocations: 310.8 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.3599, allocations: 20.05 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.3599, allocations: 12 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.36, allocations: 32.86 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.36, allocations: 3.938 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001149/0.3601, allocations: 73.56 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.3601, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3601, allocations: 4 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3601, allocations: 3.938 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3603, allocations: 12 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3603, allocations: 7.984 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.3603, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3603, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 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.587e-05/0.3604, allocations: 113.8 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.3604, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.3607, allocations: 105.4 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.3607, allocations: 7.922 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3607, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3607, allocations: 0 / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.3608, allocations: 113.3 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3608, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.3609, allocations: 15.98 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3609, allocations: 4.188 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3609, allocations: 7.938 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.3611, allocations: 101 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.3611, allocations: 4 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3611, allocations: 3.938 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.3612, allocations: 4 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.035e-05/0.3612, allocations: 7.922 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3612, allocations: 4 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.3612, allocations: 79.28 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3612, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001893/0.3614, allocations: 8 kB / 1.288 GB, free: 6.902 MB / 0.9825 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.0001337/0.3616, allocations: 99.34 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.3617, allocations: 47.89 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3617, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.3617, allocations: 16 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.362, allocations: 13.48 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.3623, allocations: 134.8 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.3624, allocations: 71.3 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.3625, allocations: 4 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.3625, allocations: 7.438 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3625, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.003234/0.3657, allocations: 0.6013 MB / 1.289 GB, free: 5.883 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.09474078193307]