Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001173/0.001173, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.568/2.568, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.88 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.641, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.003009/0.6441, allocations: 1.289 MB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.6454, allocations: 0.767 MB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.6455, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.6455, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.6456, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.6463, allocations: 167.2 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.6464, allocations: 31.8 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.6464, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.6465, allocations: 4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.6465, allocations: 15.92 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.6466, allocations: 7.984 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005382/0.6471, allocations: 279.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.6471, allocations: 7.984 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.6472, allocations: 7.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.6475, allocations: 173.6 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6475, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6475, allocations: 0 / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6476, allocations: 4 kB / 1.02 GB, free: 15.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004625/0.648, allocations: 363.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.6481, allocations: 15.98 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.6484, allocations: 16.91 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.6485, allocations: 164.3 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6486, allocations: 12.36 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.6486, allocations: 4.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.6487, allocations: 54.17 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6487, allocations: 192 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.6488, allocations: 7.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6488, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.6488, allocations: 19.98 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.649, allocations: 161.7 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6491, allocations: 62.56 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.6492, allocations: 28.86 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.6492, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.6493, allocations: 38.5 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.6493, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002058/0.6495, allocations: 81.52 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6495, allocations: 51.41 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.6496, allocations: 101.9 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6496, allocations: 25.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.6496, allocations: 80.14 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.6497, allocations: 23.73 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.6497, allocations: 17.66 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.6498, allocations: 314.8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.6499, allocations: 15.98 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.6499, allocations: 12.19 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.65, allocations: 41.09 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.65, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000104/0.6501, allocations: 65.59 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6501, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6501, allocations: 3.938 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6501, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.6503, allocations: 16 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.6503, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.6503, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.6504, allocations: 7.984 kB / 1.022 GB, free: 13.75 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 (6): * Single equations (assignments): 6 * 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.179e-05/0.6504, allocations: 113.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/0.6505, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.6507, allocations: 85.58 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6507, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6507, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6507, allocations: 7.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.6508, allocations: 169.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6508, allocations: 3.984 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.6509, allocations: 15.94 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6509, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.651, allocations: 7.922 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.651, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.651, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.6511, allocations: 93.03 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.6512, allocations: 93.09 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.6512, allocations: 3.938 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/0.6513, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.6513, allocations: 8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6513, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.6513, allocations: 79.27 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.362e-06/0.6514, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001916/0.6516, allocations: 15.94 kB / 1.022 GB, free: 12.96 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 (7): * Single equations (assignments): 7 * 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.0001205/0.6517, allocations: 111.2 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.6518, allocations: 44.12 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6518, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.6519, allocations: 23.92 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.6521, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.6525, allocations: 136.8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.6528, allocations: 0.6846 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.954e-05/0.6529, allocations: 3.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.6529, allocations: 11.44 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.6529, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002808/0.6557, allocations: 0.5688 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches