Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TInv|p_w|dT",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.86 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.0009353/0.0009353, allocations: 177.3 kB / 15.94 MB, free: 228 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.522/2.522, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 12 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8038, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001291/0.8051, allocations: 0.9782 MB / 0.9545 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.8064, allocations: 0.8011 MB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.8064, allocations: 0 / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.8064, allocations: 0 / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.8065, allocations: 1.219 kB / 0.9552 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.807, allocations: 148 kB / 0.9554 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.807, allocations: 15.03 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.8071, allocations: 5.344 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.8071, allocations: 7.125 kB / 0.9554 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.8072, allocations: 11.45 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.8072, allocations: 0.9062 kB / 0.9554 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.8075, allocations: 167.5 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.8075, allocations: 3.984 kB / 0.9556 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.8075, allocations: 28.11 kB / 0.9556 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.8078, allocations: 107.3 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.8078, allocations: 0 / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8078, allocations: 0 / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8078, allocations: 4 kB / 0.9557 GB, free: 6.371 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000333/0.8081, allocations: 361.4 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8082, allocations: 8.406 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.8084, allocations: 5.656 kB / 0.9561 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.8084, allocations: 163.1 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.8085, allocations: 1.5 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.8085, allocations: 5.344 kB / 0.9562 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.8086, allocations: 44.72 kB / 0.9563 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.8086, allocations: 4 kB / 0.9563 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8086, allocations: 1.438 kB / 0.9563 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8086, allocations: 3.953 kB / 0.9563 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.8087, allocations: 20.55 kB / 0.9563 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.8088, allocations: 158.1 kB / 0.9565 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008128/0.8096, allocations: 126 kB / 0.9566 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.8098, allocations: 89.72 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.8098, allocations: 35.56 kB / 0.9567 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.8098, allocations: 0 / 0.9567 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.81, allocations: 61.19 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.81, allocations: 56.36 kB / 0.9568 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.531e-05/0.81, allocations: 100 kB / 0.9569 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.8101, allocations: 25.7 kB / 0.9569 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.556e-05/0.8101, allocations: 80.14 kB / 0.957 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.8101, allocations: 9.969 kB / 0.957 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.8101, allocations: 128 / 0.957 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.8102, allocations: 320.2 kB / 0.9573 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.8102, allocations: 8.047 kB / 0.9573 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.8102, allocations: 12.52 kB / 0.9573 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.866e-05/0.8103, allocations: 9.062 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8103, allocations: 0.7188 kB / 0.9574 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.814e-05/0.8104, allocations: 57.12 kB / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8104, allocations: 5.375 kB / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8104, allocations: 0 / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.8104, allocations: 1.406 kB / 0.9574 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.519e-05/0.8105, allocations: 12.67 kB / 0.9574 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8105, allocations: 4.984 kB / 0.9574 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.8105, allocations: 8.953 kB / 0.9574 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.8105, allocations: 1.062 kB / 0.9574 GB, free: 4.574 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 (4): * Single equations (assignments): 4 * 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.358e-05/0.8106, allocations: 107 kB / 0.9575 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.8106, allocations: 6.25 kB / 0.9576 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.8108, allocations: 86.14 kB / 0.9576 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8109, allocations: 1.25 kB / 0.9576 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8109, allocations: 0 / 0.9576 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8109, allocations: 3.984 kB / 0.9576 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.894e-05/0.811, allocations: 159.4 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.811, allocations: 1.219 kB / 0.9578 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.811, allocations: 10.72 kB / 0.9578 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.811, allocations: 0 / 0.9578 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.811, allocations: 5.125 kB / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.811, allocations: 1.156 kB / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8111, allocations: 0 / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.8112, allocations: 84.83 kB / 0.9579 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.8112, allocations: 87.19 kB / 0.958 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.8112, allocations: 5 kB / 0.958 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.457e-05/0.8113, allocations: 1.156 kB / 0.958 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.8113, allocations: 9.938 kB / 0.958 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8113, allocations: 5.25 kB / 0.958 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.27e-05/0.8114, allocations: 76.28 kB / 0.9581 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8114, allocations: 1.094 kB / 0.9581 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000281/0.8116, allocations: 43.83 kB / 0.9581 GB, free: 3.891 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 (5): * Single equations (assignments): 5 * 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 0.0003468/0.812, allocations: 166.5 kB / 0.9583 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.352e-05/0.8121, allocations: 32.17 kB / 0.9583 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8121, allocations: 0 / 0.9583 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.8122, allocations: 18.38 kB / 0.9583 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.8123, allocations: 9.969 kB / 0.9583 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.8126, allocations: 132.2 kB / 0.9585 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.8127, allocations: 0.6823 MB / 0.9591 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.8127, allocations: 13.62 kB / 0.9591 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.8128, allocations: 10.72 kB / 0.9591 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8128, allocations: 0 / 0.9591 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.003828/0.8166, allocations: 1.024 MB / 0.9601 GB, free: 2.363 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches