Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001191/0.001191, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.91 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2907, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002358/0.2931, allocations: 1.264 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2945, allocations: 0.8712 MB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.2945, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.2945, allocations: 0 / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.2946, allocations: 7.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2952, allocations: 191.6 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.187e-05/0.2953, allocations: 23.86 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.2954, allocations: 4 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.2954, allocations: 7.984 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.2954, allocations: 8 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.2955, allocations: 0 / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.2958, allocations: 199.7 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2958, allocations: 7.938 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.2958, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.2961, allocations: 151.7 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2961, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2961, allocations: 3.938 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2961, allocations: 0 / 1.071 GB, free: 7.668 MB / 0.8262 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.000392/0.2965, allocations: 359.5 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2966, allocations: 8.031 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.2967, allocations: 8.922 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.97e-05/0.2968, allocations: 168.3 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2969, allocations: 8.375 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.2969, allocations: 8.109 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.297, allocations: 41.69 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.297, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.297, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.297, allocations: 0 / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.2971, allocations: 23.92 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2972, allocations: 157.7 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.2982, allocations: 126.4 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.2982, allocations: 32.86 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.2983, allocations: 85.09 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.2984, allocations: 30.56 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2984, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001659/0.2985, allocations: 61.62 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.2986, allocations: 55.41 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.47e-05/0.2986, allocations: 93.86 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2987, allocations: 25.83 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.2987, allocations: 84.14 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2987, allocations: 11.8 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.2988, allocations: 17.72 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.2989, allocations: 314.8 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.2989, allocations: 11.98 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.2989, allocations: 8 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.299, allocations: 24.8 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.299, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.85e-05/0.2991, allocations: 61.62 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2991, allocations: 4 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2991, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2991, allocations: 4.312 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.2992, allocations: 8 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2992, allocations: 3.984 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.959e-05/0.2992, allocations: 7.938 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.2993, allocations: 0 / 1.073 GB, free: 5.609 MB / 0.8262 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.463e-05/0.2993, allocations: 109.8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.2993, allocations: 11.92 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.2996, allocations: 81.05 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2996, allocations: 7.984 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2996, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2996, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2997, allocations: 169.5 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2997, allocations: 0 / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.2998, allocations: 8.062 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2998, allocations: 7.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2998, allocations: 4 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2998, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2998, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3, allocations: 89 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3, allocations: 89.09 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.3001, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.3001, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.3001, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3001, allocations: 4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.3002, allocations: 79.27 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3002, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002434/0.3004, allocations: 48 kB / 1.073 GB, free: 4.805 MB / 0.8262 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.0003321/0.3008, allocations: 163.8 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.3009, allocations: 31.92 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3009, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.3009, allocations: 16 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.3011, allocations: 15.92 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.3014, allocations: 126.5 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3017, allocations: 0.688 MB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3017, allocations: 12 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3018, allocations: 7.438 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3018, allocations: 4 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.003405/0.3052, allocations: 1.062 MB / 1.075 GB, free: 2.633 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches