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.007604/0.007604, allocations: 102.3 kB / 15.73 MB, free: 6.5 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.001819/0.001819, allocations: 199 kB / 16.68 MB, free: 6.375 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.6 MB / 0.7453 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3132, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002366/0.3156, allocations: 1.283 MB / 1.227 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.317, allocations: 0.8767 MB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.3171, allocations: 0 / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.3171, allocations: 0 / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.3171, allocations: 7.922 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.3178, allocations: 191.4 kB / 1.228 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.3178, allocations: 23.86 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.3179, allocations: 0 / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.3179, allocations: 8 kB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.318, allocations: 4 kB / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.318, allocations: 0 / 1.228 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.3184, allocations: 242.3 kB / 1.228 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.3184, allocations: 7.922 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.3185, allocations: 4 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.3187, allocations: 151.6 kB / 1.228 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3187, allocations: 4 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.276e-06/0.3187, allocations: 4 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.3187, allocations: 3.938 kB / 1.228 GB, free: 6.375 MB / 0.9825 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.0004054/0.3192, allocations: 351.2 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3192, allocations: 12.03 kB / 1.229 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.3194, allocations: 8.922 kB / 1.229 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.3195, allocations: 164.3 kB / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3195, allocations: 384 / 1.229 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3195, allocations: 12.12 kB / 1.229 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3196, allocations: 45.69 kB / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3196, allocations: 0 / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3197, allocations: 0 / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3197, allocations: 0 / 1.229 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.3197, allocations: 19.92 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3199, allocations: 161.6 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008932/0.3208, allocations: 134.5 kB / 1.229 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.3209, allocations: 28.78 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.321, allocations: 85.11 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.321, allocations: 30.56 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.321, allocations: 0 / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000176/0.3212, allocations: 69.56 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3212, allocations: 55.41 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.3213, allocations: 93.86 kB / 1.23 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3213, allocations: 29.7 kB / 1.23 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.3213, allocations: 80.14 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3214, allocations: 7.906 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3214, allocations: 17.72 kB / 1.23 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.3215, allocations: 314.8 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.3216, allocations: 8.125 kB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.3216, allocations: 12 kB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.48e-05/0.3216, allocations: 24.84 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3216, allocations: 0 / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.926e-05/0.3217, allocations: 61.89 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3218, allocations: 8 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3218, allocations: 3.984 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3218, allocations: 0 / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.3219, allocations: 4 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3219, allocations: 4 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.918e-05/0.3219, allocations: 4 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.3219, allocations: 7.984 kB / 1.23 GB, free: 4.312 MB / 0.9825 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.066e-05/0.322, allocations: 111.2 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.322, allocations: 3.938 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.3223, allocations: 81.11 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.3223, allocations: 4 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3223, allocations: 0 / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3223, allocations: 0 / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.3224, allocations: 169.6 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3224, allocations: 0 / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.3225, allocations: 8 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3225, allocations: 7.922 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3225, allocations: 3.938 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3225, allocations: 4 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3225, allocations: 0 / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.3227, allocations: 93 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3227, allocations: 81.11 kB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3227, allocations: 0 / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.3228, allocations: 7.984 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.3228, allocations: 0 / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3228, allocations: 4 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.3228, allocations: 75.28 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3229, allocations: 4.094 kB / 1.231 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002425/0.3231, allocations: 47.88 kB / 1.231 GB, free: 3.516 MB / 0.9825 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.0003568/0.3235, allocations: 167.5 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.3236, allocations: 24 kB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3236, allocations: 0 / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.3236, allocations: 23.92 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.3238, allocations: 21.77 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3241, allocations: 114.6 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3243, allocations: 0.6807 MB / 1.232 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.753e-05/0.3244, allocations: 15.97 kB / 1.232 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3244, allocations: 11.44 kB / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3244, allocations: 0 / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.003228/0.3277, allocations: 1.079 MB / 1.233 GB, free: 1.34 MB / 0.9825 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