Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.000985/0.0009853, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007805/0.007805, allocations: 170 kB / 16.26 MB, free: 6.613 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.000518, allocations: 12 kB / 0.8728 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.737, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001827/0.7389, allocations: 1.003 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.7409, allocations: 0.8812 MB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.741, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.741, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.7411, allocations: 3.984 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.7419, allocations: 155.5 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.742, allocations: 11.94 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.742, allocations: 7.938 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.7421, allocations: 15.92 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.7421, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.7422, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003062/0.7425, allocations: 191.8 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.7425, allocations: 11.98 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.7425, allocations: 37.58 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.7428, allocations: 149.7 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7428, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7428, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.7428, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 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.0003631/0.7432, allocations: 359.4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.7432, allocations: 8.031 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.7434, allocations: 8.922 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.816e-05/0.7435, allocations: 168.4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.7435, allocations: 384 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.7435, allocations: 4.125 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.7436, allocations: 41.69 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.7437, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7437, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.7437, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.7437, allocations: 23.92 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.7439, allocations: 153.7 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.7448, allocations: 130.6 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.7448, allocations: 24.78 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.745, allocations: 85.09 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.745, allocations: 30.56 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.745, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.7452, allocations: 65.62 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.7452, allocations: 55.34 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.7453, allocations: 97.86 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.7453, allocations: 25.7 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.7454, allocations: 80.14 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.7454, allocations: 19.78 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.7454, allocations: 13.72 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.7456, allocations: 310.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.7456, allocations: 8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.7456, allocations: 7.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.7457, allocations: 32.92 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7457, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.3e-05/0.7458, allocations: 57.62 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.7458, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.7458, allocations: 3.938 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.7458, allocations: 4 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.7459, allocations: 7.984 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.7459, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.7459, allocations: 3.938 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.7459, allocations: 8 kB / 1.027 GB, free: 11.35 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.746, allocations: 111.2 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.746, allocations: 11.84 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.7463, allocations: 77.11 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7463, allocations: 4 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7463, allocations: 0 / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7463, allocations: 3.984 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.7464, allocations: 161.7 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7464, allocations: 3.984 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.7465, allocations: 8 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7465, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.7465, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7465, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7465, allocations: 3.984 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.7466, allocations: 93 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.7467, allocations: 85.09 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.7467, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.647e-05/0.7467, allocations: 3.938 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.7468, allocations: 4 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.7468, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.7468, allocations: 79.28 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7468, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000236/0.7471, allocations: 52.08 kB / 1.028 GB, free: 10.55 MB / 0.7794 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 (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.0003329/0.7474, allocations: 176.2 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.7475, allocations: 31.92 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7475, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.7476, allocations: 12 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.7477, allocations: 15.94 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.748, allocations: 137.6 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.7482, allocations: 0.6731 MB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.476e-05/0.7483, allocations: 15.98 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.7483, allocations: 7.438 kB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7483, allocations: 0 / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of Templates: time 0.003237/0.7516, allocations: 1.04 MB / 1.03 GB, free: 8.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches