Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009993/0.0009991, allocations: 176.2 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 102.5 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 12.94 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.262, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4423, allocations: 133.1 MB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.4427, allocations: 87.94 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.4609, allocations: 6.184 MB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.505e-06/0.461, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.461, allocations: 0 / 1.036 GB, free: 4.301 MB / 0.6823 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.0003982/0.4614, allocations: 379.1 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4615, allocations: 12.03 kB / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.4616, allocations: 4 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4618, allocations: 171 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4618, allocations: 4 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4618, allocations: 4 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4619, allocations: 37.69 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.462, allocations: 0 / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.462, allocations: 4 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.462, allocations: 0 / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.462, allocations: 15.98 kB / 1.037 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.4622, allocations: 161.6 kB / 1.037 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.4631, allocations: 134.5 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.4632, allocations: 85.11 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4633, allocations: 30.56 kB / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4633, allocations: 0 / 1.037 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001832/0.4634, allocations: 69.7 kB / 1.037 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.4635, allocations: 55.41 kB / 1.037 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.4636, allocations: 85 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4636, allocations: 25.7 kB / 1.037 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.4636, allocations: 84.27 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4637, allocations: 15.81 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4637, allocations: 0 / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4638, allocations: 318.8 kB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.4638, allocations: 8 kB / 1.038 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.4638, allocations: 4 kB / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.4639, allocations: 11.98 kB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4639, allocations: 0 / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.092e-05/0.464, allocations: 57.64 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.464, allocations: 15.94 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.464, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.464, allocations: 0 / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.4641, allocations: 8 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4641, allocations: 0 / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.4641, allocations: 4 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4642, allocations: 0 / 1.038 GB, free: 2.305 MB / 0.6823 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 7.944e-05/0.4642, allocations: 113.8 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.4643, allocations: 11.86 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.4645, allocations: 77.11 kB / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.4645, allocations: 0 / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.24e-05/0.4645, allocations: 0 / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4645, allocations: 3.938 kB / 1.038 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4647, allocations: 165.7 kB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4647, allocations: 4 kB / 1.038 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.4647, allocations: 8 kB / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.4648, allocations: 7.938 kB / 1.038 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.4648, allocations: 0 / 1.038 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4648, allocations: 0 / 1.038 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4648, allocations: 0 / 1.038 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.4649, allocations: 85.06 kB / 1.038 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.465, allocations: 81.11 kB / 1.038 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.465, allocations: 3.953 kB / 1.038 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.465, allocations: 8 kB / 1.038 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.4651, allocations: 7.984 kB / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.4651, allocations: 0 / 1.039 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.581e-05/0.4651, allocations: 83.22 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4651, allocations: 0 / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002451/0.4654, allocations: 47.94 kB / 1.039 GB, free: 1.508 MB / 0.6823 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.0004128/0.4658, allocations: 193.7 kB / 1.039 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.4659, allocations: 24 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4659, allocations: 0 / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.4659, allocations: 23.92 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.4661, allocations: 0 / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.4664, allocations: 140.5 kB / 1.039 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4666, allocations: 0.6887 MB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.147e-05/0.4667, allocations: 4 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.4667, allocations: 11.44 kB / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4667, allocations: 0 / 1.04 GB, free: 388 kB / 0.6823 GB Notification: Performance of Templates: time 0.003238/0.47, allocations: 1.001 MB / 1.041 GB, free: 15.39 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches