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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008372/0.008372, allocations: 99.38 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 196.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002374/0.3238, allocations: 1.3 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3249, allocations: 0.7686 MB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.3249, allocations: 0 / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.325, allocations: 4 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.325, allocations: 3.938 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.3255, allocations: 163.2 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.3256, allocations: 35.86 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.3256, allocations: 4 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.3257, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.3257, allocations: 19.91 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.3257, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004216/0.3261, allocations: 279.6 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.3262, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3262, allocations: 15.92 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.3265, allocations: 175.5 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3265, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3265, allocations: 4 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3265, allocations: 0 / 1.223 GB, free: 11.02 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.0004391/0.3269, allocations: 373.3 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3269, allocations: 8.031 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.3272, allocations: 20.91 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3273, allocations: 164.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3273, allocations: 384 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.3273, allocations: 8.375 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.3275, allocations: 50.23 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3275, allocations: 8.125 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3275, allocations: 3.938 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3275, allocations: 4 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.3275, allocations: 19.98 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.3277, allocations: 161.6 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3278, allocations: 58.66 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.3279, allocations: 24.89 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3279, allocations: 4 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3279, allocations: 30.56 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.3279, allocations: 7.922 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0001906/0.3281, allocations: 81.61 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3282, allocations: 51.41 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.3282, allocations: 93.86 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3283, allocations: 37.64 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.3283, allocations: 80.14 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.3283, allocations: 15.8 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.208e-05/0.3284, allocations: 25.7 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3285, allocations: 314.8 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.3285, allocations: 8 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.3285, allocations: 15.98 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.781e-05/0.3286, allocations: 36.92 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3286, allocations: 4 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.632e-05/0.3287, allocations: 61.69 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3287, allocations: 10.19 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3287, allocations: 3.938 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3287, allocations: 0 / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3289, allocations: 15.98 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3289, allocations: 0 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.3289, allocations: 448 / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.3289, allocations: 4 kB / 1.225 GB, free: 9.027 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 7.816e-05/0.329, allocations: 122.3 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.329, allocations: 3.953 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.3292, allocations: 93.52 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3292, allocations: 0 / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3292, allocations: 4 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3292, allocations: 0 / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.3293, allocations: 165.7 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3293, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.3294, allocations: 19.98 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3294, allocations: 0 / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3294, allocations: 3.938 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3294, allocations: 3.938 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3294, allocations: 0 / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3296, allocations: 105.1 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3296, allocations: 77.11 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3297, allocations: 7.938 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.3297, allocations: 11.98 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.3297, allocations: 0 / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3297, allocations: 7.938 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.3298, allocations: 75.28 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001848/0.33, allocations: 8 kB / 1.226 GB, free: 8.227 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.0001228/0.3301, allocations: 115.3 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.3302, allocations: 31.98 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3302, allocations: 0 / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.272e-05/0.3302, allocations: 19.98 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3304, allocations: 12.92 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3308, allocations: 138.3 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3311, allocations: 0.6806 MB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.3311, allocations: 12.23 kB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3311, allocations: 11.44 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3311, allocations: 0 / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of Templates: time 0.002697/0.3338, allocations: 0.5702 MB / 1.227 GB, free: 6.594 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) 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) Reference file matches