Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0008802/0.0008802, allocations: 89.89 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.005944/0.005944, allocations: 171.2 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005518, allocations: 9.594 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3817, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001437/0.3832, allocations: 1.013 MB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3844, allocations: 0.7632 MB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.3844, allocations: 3.938 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.3844, allocations: 3.984 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.3845, allocations: 7.922 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3849, allocations: 151.4 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.385, allocations: 27.86 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.385, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.3851, allocations: 4 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.3852, allocations: 15.92 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.3852, allocations: 4 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.3856, allocations: 287.5 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3856, allocations: 7.984 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3857, allocations: 37.64 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.3859, allocations: 168 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.386, allocations: 4 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.344e-06/0.386, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.386, allocations: 0 / 1.061 GB, free: 2.949 MB / 0.8106 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.0004075/0.3864, allocations: 364.2 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3864, allocations: 8.031 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.3867, allocations: 16.91 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3868, allocations: 168.3 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3868, allocations: 8.359 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3869, allocations: 4.375 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.387, allocations: 46.25 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.387, allocations: 192 / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.387, allocations: 3.938 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.387, allocations: 0 / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.685e-05/0.3871, allocations: 31.98 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.3873, allocations: 157.7 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3874, allocations: 66.56 kB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.3875, allocations: 24.86 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3875, allocations: 0 / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3875, allocations: 38.55 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3875, allocations: 0 / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002376/0.3878, allocations: 85.47 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3878, allocations: 51.41 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.3879, allocations: 93.86 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.388, allocations: 33.64 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.388, allocations: 80.14 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.3881, allocations: 19.73 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.3881, allocations: 13.72 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3883, allocations: 314.8 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.3883, allocations: 11.98 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.661e-05/0.3884, allocations: 15.94 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.3885, allocations: 36.98 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3885, allocations: 0 / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001024/0.3886, allocations: 69.53 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3886, allocations: 8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3886, allocations: 7.922 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3886, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3888, allocations: 12 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3888, allocations: 0 / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.3888, allocations: 0 / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3888, allocations: 3.984 kB / 1.063 GB, free: 0.9648 MB / 0.8106 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.879e-05/0.3889, allocations: 117.8 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.3889, allocations: 0 / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.3891, allocations: 97.48 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3891, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3891, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3892, allocations: 0 / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.3893, allocations: 177.5 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3893, allocations: 448 / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.3894, allocations: 12 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3894, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3894, allocations: 7.938 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3894, allocations: 0 / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3894, allocations: 3.984 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.3896, allocations: 105.1 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3896, allocations: 81.11 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3897, allocations: 7.922 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.3897, allocations: 4 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.3897, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3898, allocations: 11.94 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.3898, allocations: 75.28 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3898, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001866/0.39, allocations: 8 kB / 1.063 GB, free: 168 kB / 0.8106 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.0001119/0.3901, allocations: 107.3 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.3902, allocations: 35.98 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3902, allocations: 0 / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.3903, allocations: 23.98 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3905, allocations: 11.94 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.3909, allocations: 144.5 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3912, allocations: 0.677 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.3912, allocations: 4 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.3913, allocations: 19.36 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3913, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.002992/0.3943, allocations: 0.5281 MB / 1.065 GB, free: 14.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches