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.001702/0.001702, allocations: 111.6 kB / 16.41 MB, free: 6.488 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.001893/0.001893, allocations: 187 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002868/1.042, allocations: 1.292 MB / 1.09 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001383/1.044, allocations: 0.7656 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.817e-05/1.044, allocations: 1.281 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/1.044, allocations: 0.7031 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/1.044, allocations: 6.109 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/1.045, allocations: 163.8 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.51e-05/1.045, allocations: 25.77 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.682e-05/1.045, allocations: 6.719 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/1.045, allocations: 19.08 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/1.045, allocations: 6.25 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/1.045, allocations: 0.9062 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/1.045, allocations: 284.8 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/1.045, allocations: 2.469 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/1.046, allocations: 17.34 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/1.046, allocations: 169.1 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.046, allocations: 5.438 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.395e-06/1.046, allocations: 0 / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.046, allocations: 1.031 kB / 1.091 GB, free: 3.848 MB / 0.8575 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.0004877/1.046, allocations: 368 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.046, allocations: 9.844 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/1.047, allocations: 18.78 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/1.047, allocations: 170.7 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.047, allocations: 5.469 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.047, allocations: 1.5 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/1.047, allocations: 51.05 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.047, allocations: 8.109 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.047, allocations: 3.938 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.047, allocations: 1.609 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/1.047, allocations: 25.27 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/1.047, allocations: 160 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/1.047, allocations: 69.17 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/1.048, allocations: 26.2 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/1.048, allocations: 2.5 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/1.048, allocations: 31.69 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/1.048, allocations: 0 / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002613/1.048, allocations: 77.7 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.048, allocations: 57.47 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/1.048, allocations: 96.47 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.048, allocations: 25.7 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/1.048, allocations: 80.8 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/1.048, allocations: 23.86 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/1.048, allocations: 19.88 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.836e-05/1.048, allocations: 313 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/1.048, allocations: 12.02 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/1.048, allocations: 16.77 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.197e-05/1.048, allocations: 37.25 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.048, allocations: 0.8125 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001123/1.048, allocations: 66.73 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.049, allocations: 5.594 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/1.049, allocations: 4.547 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.049, allocations: 0.6562 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/1.049, allocations: 14.41 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/1.049, allocations: 0.9062 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/1.049, allocations: 1.344 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/1.049, allocations: 9.906 kB / 1.093 GB, free: 2.125 MB / 0.8575 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 6.854e-05/1.049, allocations: 112.5 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/1.049, allocations: 2.312 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/1.049, allocations: 92.05 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.049, allocations: 1.562 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.049, allocations: 4.75 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.049, allocations: 4.641 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/1.049, allocations: 165.3 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.049, allocations: 1.859 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/1.049, allocations: 14.75 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.049, allocations: 0.875 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.049, allocations: 5.438 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.049, allocations: 0.5625 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.049, allocations: 0.8438 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/1.05, allocations: 101.5 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/1.05, allocations: 89.14 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/1.05, allocations: 9.453 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/1.05, allocations: 1.594 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/1.05, allocations: 7.922 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/1.05, allocations: 2.156 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.327e-05/1.05, allocations: 76.78 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0.8125 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001928/1.05, allocations: 12.22 kB / 1.094 GB, free: 1.453 MB / 0.8575 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.0001152/1.05, allocations: 102.6 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001402/1.05, allocations: 38.23 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.05, allocations: 0.7812 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/1.05, allocations: 24.83 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/1.051, allocations: 7.766 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/1.051, allocations: 159.3 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/1.051, allocations: 0.6776 MB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/1.051, allocations: 16.48 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/1.051, allocations: 0 / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of Templates: time 0.002564/1.054, allocations: 0.6008 MB / 1.095 GB, free: 460 kB / 0.8575 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/jenkins1/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