Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001015/0.001015, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009796/0.009797, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9072, allocations: 142.4 MB / 0.955 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001326/0.9085, allocations: 1.019 MB / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.9096, allocations: 0.774 MB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.9096, allocations: 1.281 kB / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.9096, allocations: 0 / 0.9568 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.9097, allocations: 7.922 kB / 0.9568 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.9101, allocations: 142.1 kB / 0.9569 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.9101, allocations: 26.86 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.9102, allocations: 1.969 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.9102, allocations: 9.219 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.37e-05/0.9103, allocations: 16 kB / 0.957 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.9103, allocations: 5.406 kB / 0.957 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.9107, allocations: 286.6 kB / 0.9573 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.9107, allocations: 5.078 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.9107, allocations: 37.83 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.911, allocations: 162.9 kB / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.911, allocations: 0 / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.911, allocations: 0 / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.911, allocations: 0 / 0.9575 GB, free: 5.836 MB / 0.7169 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.000341/0.9114, allocations: 372.5 kB / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9114, allocations: 9.875 kB / 0.9578 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.9116, allocations: 19.03 kB / 0.9578 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.9117, allocations: 169.6 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.9117, allocations: 1.688 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.9118, allocations: 5.812 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.9119, allocations: 47.7 kB / 0.9581 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9119, allocations: 1.656 kB / 0.9581 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9119, allocations: 7.938 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9119, allocations: 1.219 kB / 0.9581 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.912, allocations: 24.36 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.9121, allocations: 164.2 kB / 0.9582 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.9122, allocations: 59.44 kB / 0.9583 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.9123, allocations: 28.05 kB / 0.9583 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.9123, allocations: 3.938 kB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.9123, allocations: 36 kB / 0.9584 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.9123, allocations: 0 / 0.9584 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001789/0.9125, allocations: 86.73 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.9126, allocations: 51.41 kB / 0.9585 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.9126, allocations: 91.67 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.9126, allocations: 29.7 kB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.145e-05/0.9126, allocations: 80.14 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.9127, allocations: 23.78 kB / 0.9587 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.9127, allocations: 19.73 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.9127, allocations: 310.8 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.9128, allocations: 9.656 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.9128, allocations: 15.52 kB / 0.9591 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.461e-05/0.9128, allocations: 31.73 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9129, allocations: 0 / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.509e-05/0.9129, allocations: 68.31 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.913, allocations: 4.594 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.913, allocations: 3.938 kB / 0.9592 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.913, allocations: 9.344 kB / 0.9592 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.9131, allocations: 15.05 kB / 0.9592 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.9131, allocations: 5.312 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.9132, allocations: 3.906 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.9132, allocations: 2.875 kB / 0.9592 GB, free: 4.047 MB / 0.7169 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 5.012e-05/0.9132, allocations: 111.3 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.9132, allocations: 1.344 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.9134, allocations: 98.73 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.9134, allocations: 1.562 kB / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9134, allocations: 0 / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9135, allocations: 0 / 0.9594 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.306e-05/0.9135, allocations: 165.6 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9135, allocations: 0 / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.9136, allocations: 17.98 kB / 0.9596 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9136, allocations: 0 / 0.9596 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.9137, allocations: 9.062 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9137, allocations: 0 / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9137, allocations: 1.656 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.9138, allocations: 106.9 kB / 0.9597 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.9138, allocations: 78.89 kB / 0.9598 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.9138, allocations: 5.719 kB / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.9139, allocations: 0 / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.9139, allocations: 7.766 kB / 0.9598 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.9139, allocations: 9.656 kB / 0.9598 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.644e-05/0.914, allocations: 79.22 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.914, allocations: 0 / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001813/0.9141, allocations: 9.219 kB / 0.9599 GB, free: 3.348 MB / 0.7169 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.402e-05/0.9142, allocations: 101.1 kB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.9144, allocations: 38.08 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9144, allocations: 0 / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.9144, allocations: 29.64 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.9146, allocations: 7.75 kB / 0.96 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.9149, allocations: 153.1 kB / 0.9602 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.915, allocations: 0.6785 MB / 0.9608 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.397e-05/0.915, allocations: 8.125 kB / 0.9608 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.9151, allocations: 10.19 kB / 0.9609 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9151, allocations: 0 / 0.9609 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.002387/0.9175, allocations: 0.5367 MB / 0.9614 GB, free: 2.086 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches