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.001387/0.001387, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001518/0.001518, allocations: 224.3 kB / 23 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.164/3.164, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.002114/0.002114, allocations: 78.86 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002602/0.3562, allocations: 1.301 MB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3575, allocations: 0.728 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.3575, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.3575, allocations: 3.984 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.3576, allocations: 11.92 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.3581, allocations: 167.2 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.3582, allocations: 15.94 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.3582, allocations: 7.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.3582, allocations: 11.94 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.3583, allocations: 4 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.3583, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3586, allocations: 175.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3587, allocations: 11.94 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.3587, allocations: 11.94 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.359, allocations: 151.5 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.359, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.003e-06/0.359, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.667e-05/0.359, allocations: 0 / 1.329 GB, free: 15.27 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.0004701/0.3595, allocations: 299.5 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3595, allocations: 8.031 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.3602, allocations: 52.86 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3603, allocations: 110.5 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3604, allocations: 384 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.3604, allocations: 384 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.3605, allocations: 83.88 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3605, allocations: 192 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3606, allocations: 3.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3606, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.3606, allocations: 31.98 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.3608, allocations: 105.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3609, allocations: 62.69 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.361, allocations: 16.86 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.361, allocations: 3.938 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.361, allocations: 38.55 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.361, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0002157/0.3613, allocations: 81.58 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3613, allocations: 51.41 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.3614, allocations: 93.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3614, allocations: 37.64 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.3615, allocations: 80.14 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3615, allocations: 15.83 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.3615, allocations: 25.67 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3617, allocations: 318.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3617, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.3617, allocations: 11.94 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.3618, allocations: 36.84 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3618, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001051/0.3619, allocations: 61.69 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3619, allocations: 14.31 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3619, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3619, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3621, allocations: 15.98 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3621, allocations: 3.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.3621, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3621, allocations: 7.984 kB / 1.33 GB, free: 13.44 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 7.983e-05/0.3622, allocations: 106.4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.3622, allocations: 7.938 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.3625, allocations: 97.45 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3625, allocations: 4.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3625, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3625, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3626, allocations: 109.3 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3626, allocations: 3.984 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.3627, allocations: 19.94 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3627, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.3627, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3627, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3627, allocations: 3.938 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3629, allocations: 97.11 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.3629, allocations: 7.953 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3629, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.363, allocations: 7.984 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.363, allocations: 7.938 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.363, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.3631, allocations: 79.28 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3631, allocations: 96 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001909/0.3632, allocations: 12 kB / 1.331 GB, free: 12.8 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.0001265/0.3634, allocations: 107.2 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3635, allocations: 35.97 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3635, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.3635, allocations: 27.86 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3638, allocations: 4.938 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.3641, allocations: 162.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.3642, allocations: 67.34 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.3642, allocations: 7.438 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3642, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of Templates: time 0.002217/0.3665, allocations: 0.6084 MB / 1.332 GB, free: 11.74 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/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.110289311036468]