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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009288/0.000929, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009054/0.0009055, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.657/2.657, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7821/0.7826, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.001163/0.7838, allocations: 0.992 MB / 0.9545 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.7845, allocations: 490.8 kB / 0.9549 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.7845, allocations: 1.125 kB / 0.9549 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.7846, allocations: 0 / 0.9549 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.7846, allocations: 4.953 kB / 0.955 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.785, allocations: 104.2 kB / 0.9551 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.785, allocations: 20.73 kB / 0.9551 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.7851, allocations: 5.719 kB / 0.9551 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.7851, allocations: 12.72 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.7852, allocations: 11.62 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.7852, allocations: 1.281 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.7855, allocations: 190.9 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.7855, allocations: 5.109 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.7855, allocations: 29.36 kB / 0.9553 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.7857, allocations: 72.38 kB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7857, allocations: 4 kB / 0.9554 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7857, allocations: 3.938 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.7857, allocations: 1.188 kB / 0.9554 GB, free: 6.703 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.0003056/0.786, allocations: 348.5 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7861, allocations: 9.344 kB / 0.9557 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.7863, allocations: 21.91 kB / 0.9558 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.664e-05/0.7864, allocations: 172.3 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.7864, allocations: 0.9375 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.7864, allocations: 2.25 kB / 0.9559 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.7866, allocations: 47.09 kB / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7866, allocations: 0 / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7866, allocations: 0 / 0.956 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7866, allocations: 5.797 kB / 0.956 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.485e-05/0.7867, allocations: 32.91 kB / 0.956 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.7868, allocations: 159 kB / 0.9562 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.7869, allocations: 67.2 kB / 0.9562 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.787, allocations: 1.438 kB / 0.9562 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.787, allocations: 32.03 kB / 0.9563 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.787, allocations: 0 / 0.9563 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0001772/0.7872, allocations: 84.41 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.7872, allocations: 52.59 kB / 0.9564 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.342e-05/0.7873, allocations: 99 kB / 0.9565 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.7873, allocations: 30.89 kB / 0.9565 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.7873, allocations: 81.58 kB / 0.9566 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.7873, allocations: 18.12 kB / 0.9566 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.7873, allocations: 5.188 kB / 0.9566 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.7874, allocations: 314.8 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.7874, allocations: 10.66 kB / 0.9569 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.7874, allocations: 13.77 kB / 0.9569 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.7875, allocations: 11.75 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7875, allocations: 4.125 kB / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.771e-05/0.7876, allocations: 70.59 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.7876, allocations: 5.875 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7876, allocations: 0 / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7876, allocations: 0 / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7877, allocations: 15.7 kB / 0.957 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7878, allocations: 5.406 kB / 0.957 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.458e-05/0.7878, allocations: 5.547 kB / 0.957 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.7878, allocations: 0 / 0.957 GB, free: 4.984 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.7879, allocations: 116.3 kB / 0.9572 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.7879, allocations: 5.312 kB / 0.9572 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.7881, allocations: 86.47 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.7881, allocations: 1.438 kB / 0.9572 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7881, allocations: 3.984 kB / 0.9572 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.7881, allocations: 0 / 0.9572 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.544e-05/0.7882, allocations: 170.5 kB / 0.9574 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7882, allocations: 0 / 0.9574 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.7883, allocations: 16.95 kB / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7883, allocations: 0 / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7883, allocations: 1.406 kB / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7883, allocations: 0 / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7883, allocations: 1.125 kB / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.7884, allocations: 110.2 kB / 0.9575 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.7885, allocations: 87.56 kB / 0.9576 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.7885, allocations: 5.438 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.7886, allocations: 1.406 kB / 0.9576 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.7886, allocations: 5.469 kB / 0.9576 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.7886, allocations: 6.828 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.687e-05/0.7886, allocations: 75.28 kB / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 0 / 0.9577 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002046/0.7888, allocations: 8.312 kB / 0.9577 GB, free: 4.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.18e-05/0.7889, allocations: 110.2 kB / 0.9578 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.7891, allocations: 34.73 kB / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7891, allocations: 0 / 0.9579 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.7891, allocations: 24.86 kB / 0.9579 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.7893, allocations: 14.48 kB / 0.9579 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.7896, allocations: 144.2 kB / 0.958 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.6e-05/0.7897, allocations: 0.6839 MB / 0.9587 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.409e-05/0.7897, allocations: 6.953 kB / 0.9587 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.7898, allocations: 11.22 kB / 0.9587 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7898, allocations: 0 / 0.9587 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of Templates: time 0.002668/0.7925, allocations: 0.5105 MB / 0.9592 GB, free: 3.035 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","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches