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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 182.9 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 100.3 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 12.56 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.303, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.4963, allocations: 150.7 MB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.4968, allocations: 87.94 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01883/0.5157, allocations: 6.258 MB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.817e-06/0.5157, allocations: 0 / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.5157, allocations: 7.938 kB / 1.376 GB, free: 5.051 MB / 0.8698 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.0004473/0.5162, allocations: 367.3 kB / 1.377 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.5162, allocations: 12.03 kB / 1.377 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.5164, allocations: 4 kB / 1.377 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5166, allocations: 171 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5166, allocations: 8 kB / 1.377 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5166, allocations: 4 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.5167, allocations: 41.69 kB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5168, allocations: 0 / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5168, allocations: 0 / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5168, allocations: 0 / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.372e-05/0.5168, allocations: 15.98 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.517, allocations: 161.5 kB / 1.377 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.5179, allocations: 130.5 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.518, allocations: 81.11 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5181, allocations: 38.56 kB / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5181, allocations: 0 / 1.377 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001703/0.5182, allocations: 57.95 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.5183, allocations: 59.34 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.5183, allocations: 85 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5184, allocations: 29.83 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.5184, allocations: 88.08 kB / 1.378 GB, free: 3.512 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.5184, allocations: 15.75 kB / 1.378 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5185, allocations: 0 / 1.378 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5186, allocations: 314.8 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.5186, allocations: 8 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.5186, allocations: 11.98 kB / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.992e-05/0.5187, allocations: 15.94 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5187, allocations: 4 kB / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.933e-05/0.5188, allocations: 45.69 kB / 1.378 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5188, allocations: 13.09 kB / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5188, allocations: 0 / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5188, allocations: 0 / 1.378 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.5189, allocations: 11.94 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5189, allocations: 4 kB / 1.378 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.5189, allocations: 3.938 kB / 1.378 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5189, allocations: 0 / 1.378 GB, free: 3.059 MB / 0.8698 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 8.023e-05/0.519, allocations: 113.8 kB / 1.378 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.5191, allocations: 4 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.5193, allocations: 77.17 kB / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5193, allocations: 0 / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5193, allocations: 0 / 1.378 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5193, allocations: 4.062 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5194, allocations: 161.7 kB / 1.378 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5195, allocations: 3.953 kB / 1.378 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.5195, allocations: 11.98 kB / 1.378 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5195, allocations: 0 / 1.378 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5195, allocations: 3.938 kB / 1.378 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5195, allocations: 0 / 1.378 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5195, allocations: 4 kB / 1.378 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.5197, allocations: 89.03 kB / 1.378 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.5197, allocations: 81.06 kB / 1.378 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.5198, allocations: 4 kB / 1.378 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.771e-05/0.5198, allocations: 11.92 kB / 1.378 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.5198, allocations: 0 / 1.378 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5198, allocations: 0 / 1.378 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.5199, allocations: 79.28 kB / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5199, allocations: 0 / 1.379 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002441/0.5201, allocations: 55.92 kB / 1.379 GB, free: 2.266 MB / 0.8698 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.0003922/0.5205, allocations: 197.9 kB / 1.379 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.683e-05/0.5206, allocations: 27.92 kB / 1.379 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5206, allocations: 0 / 1.379 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.5207, allocations: 16 kB / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.5208, allocations: 9.719 kB / 1.379 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.5211, allocations: 136.5 kB / 1.379 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5214, allocations: 0.6809 MB / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.5215, allocations: 4.234 kB / 1.38 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.5215, allocations: 15.44 kB / 1.38 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5215, allocations: 0 / 1.38 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of Templates: time 0.003076/0.5246, allocations: 0.995 MB / 1.381 GB, free: 144 kB / 0.8698 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