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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001658/0.001658, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001988/0.001988, allocations: 198.3 kB / 17.3 MB, free: 5.516 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 72.47 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002382/0.3018, allocations: 1.264 MB / 1.028 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.3032, allocations: 0.8831 MB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.3032, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.3032, allocations: 3.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.515e-05/0.3033, allocations: 7.938 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.3039, allocations: 198.8 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.304, allocations: 27.8 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.304, allocations: 0 / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.3041, allocations: 7.984 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.3041, allocations: 4 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.3042, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.3045, allocations: 243.7 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.3045, allocations: 3.938 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.3046, allocations: 11.98 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.3048, allocations: 147.8 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3049, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3049, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3049, allocations: 0 / 1.029 GB, free: 15.24 MB / 0.8106 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.0003927/0.3053, allocations: 355.5 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3053, allocations: 8.031 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3055, allocations: 16.92 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3056, allocations: 160.4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3056, allocations: 4.375 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3056, allocations: 4.125 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3058, allocations: 45.62 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3058, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3058, allocations: 3.984 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3058, allocations: 0 / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.3059, allocations: 12 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.306, allocations: 157.7 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.307, allocations: 134.5 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.307e-05/0.307, allocations: 24.78 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.3072, allocations: 89.05 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3072, allocations: 38.56 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3072, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.3074, allocations: 69.58 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3074, allocations: 51.41 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.3075, allocations: 93.86 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3075, allocations: 25.7 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.3076, allocations: 80.14 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.3076, allocations: 16.02 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3076, allocations: 17.7 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.669e-05/0.3077, allocations: 314.8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.3078, allocations: 11.94 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.213e-05/0.3078, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.3078, allocations: 33.06 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3079, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.076e-05/0.308, allocations: 61.53 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.308, allocations: 6.812 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.308, allocations: 4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.308, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.3081, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3081, allocations: 3.984 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.3081, allocations: 11.86 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.3082, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 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.685e-05/0.3082, allocations: 113.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.3082, allocations: 3.938 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.3085, allocations: 77.17 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3085, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3085, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3085, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.3086, allocations: 157.6 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3086, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.3087, allocations: 19.92 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3087, allocations: 0 / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3087, allocations: 11.94 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3087, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3087, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.3088, allocations: 89.09 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3089, allocations: 77.11 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.3089, allocations: 11.98 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.309, allocations: 4 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.309, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.309, allocations: 4 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.309, allocations: 79.28 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002441/0.3093, allocations: 47.98 kB / 1.032 GB, free: 12.37 MB / 0.8106 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.0003304/0.3096, allocations: 173.5 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.3097, allocations: 27.92 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3097, allocations: 4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.782e-05/0.3098, allocations: 16 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.3099, allocations: 7.938 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.3102, allocations: 118.6 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.3105, allocations: 0.6807 MB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.3105, allocations: 11.98 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.3105, allocations: 11.44 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3106, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.003359/0.3139, allocations: 1.068 MB / 1.034 GB, free: 10.21 MB / 0.8106 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 -s gbode -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/jenkins1/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