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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00965/0.00965, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001986/0.001986, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 58.75 kB / 0.9508 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002523/0.3723, allocations: 1.269 MB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3738, allocations: 0.8553 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.3738, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.3739, allocations: 3.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.3739, allocations: 7.922 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.3746, allocations: 194.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.889e-05/0.3747, allocations: 27.86 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.3748, allocations: 0 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.3748, allocations: 8 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3749, allocations: 11.98 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3749, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.3753, allocations: 237.1 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3753, allocations: 7.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.3754, allocations: 4 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3756, allocations: 155.5 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.3757, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3757, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3757, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 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.0004828/0.3762, allocations: 359.2 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3762, allocations: 12.03 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3764, allocations: 12.88 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3765, allocations: 160.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3765, allocations: 384 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3766, allocations: 8.125 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3767, allocations: 49.66 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3767, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3767, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3767, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.3768, allocations: 15.92 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.377, allocations: 153.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009154/0.3779, allocations: 134.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.378, allocations: 28.78 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.3781, allocations: 85.11 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3781, allocations: 38.55 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3782, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.3783, allocations: 61.62 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.3784, allocations: 51.41 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.3785, allocations: 89.86 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.3785, allocations: 37.83 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.3785, allocations: 80.14 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3786, allocations: 11.84 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3786, allocations: 21.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3787, allocations: 310.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.3788, allocations: 8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.3788, allocations: 15.92 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.3789, allocations: 24.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3789, allocations: 8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.09e-05/0.379, allocations: 57.62 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.379, allocations: 8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.379, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.379, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.3791, allocations: 7.984 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3791, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.3791, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3791, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 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 7.982e-05/0.3792, allocations: 117.8 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.3792, allocations: 7.891 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.3795, allocations: 73.44 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3795, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3795, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3795, allocations: 7.984 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3797, allocations: 165.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3797, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.84e-05/0.3797, allocations: 15.92 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3797, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3797, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3798, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3798, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.3799, allocations: 89 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.3799, allocations: 85.09 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.38, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.38, allocations: 8 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.38, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.38, allocations: 8.125 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.3801, allocations: 75.28 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3801, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002476/0.3803, allocations: 51.86 kB / 1.093 GB, free: 11.86 MB / 0.8575 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.0003879/0.3807, allocations: 175.1 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.3809, allocations: 31.92 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3809, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.3809, allocations: 16 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.3811, allocations: 7.938 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3814, allocations: 124.9 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3817, allocations: 0.6729 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.96e-05/0.3818, allocations: 7.984 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3818, allocations: 15.44 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3818, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of Templates: time 0.003968/0.3858, allocations: 1.069 MB / 1.095 GB, free: 9.699 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches