Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001722/0.001722, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001928/0.001928, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7427 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 66.47 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3212, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002593/0.3239, allocations: 1.329 MB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3254, allocations: 0.8693 MB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.3254, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.3254, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3255, allocations: 7.922 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.3262, allocations: 178.5 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.3262, allocations: 23.86 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3263, allocations: 4 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.3263, allocations: 7.984 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.3264, allocations: 8 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.3264, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.3267, allocations: 187.8 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.3268, allocations: 7.922 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.3268, allocations: 11.98 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.327, allocations: 99.88 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.327, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.327, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.327, allocations: 4 kB / 1.067 GB, free: 12.35 MB / 0.8419 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.0004976/0.3275, allocations: 359.4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3276, allocations: 8.031 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3278, allocations: 8.922 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3279, allocations: 160.4 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.328, allocations: 12.36 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.328, allocations: 4.125 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3281, allocations: 41.69 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3281, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3281, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3281, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.3282, allocations: 15.98 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.3284, allocations: 161.6 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.3294, allocations: 134.4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3295, allocations: 28.86 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.3296, allocations: 85.09 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3297, allocations: 34.56 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3297, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.3298, allocations: 61.62 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3299, allocations: 55.41 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.33, allocations: 97.86 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.33, allocations: 25.7 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.3301, allocations: 80.14 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.3301, allocations: 7.891 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3301, allocations: 21.62 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3303, allocations: 314.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.3303, allocations: 11.98 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.3303, allocations: 8.312 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.3304, allocations: 32.94 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3304, allocations: 3.938 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.476e-05/0.3305, allocations: 61.5 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3305, allocations: 6.344 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3306, allocations: 3.984 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3306, allocations: 3.984 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.3306, allocations: 8 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3306, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.3307, allocations: 7.938 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3307, allocations: 4 kB / 1.069 GB, free: 10.28 MB / 0.8419 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 0.0001092/0.3308, allocations: 109.8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.3308, allocations: 3.938 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3311, allocations: 81.09 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3311, allocations: 8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3311, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3311, allocations: 0 / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3313, allocations: 157.6 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3313, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.07e-05/0.3313, allocations: 8 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3314, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3314, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3314, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3314, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3315, allocations: 96.97 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.3316, allocations: 85.03 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3316, allocations: 8.125 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.3317, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3317, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3317, allocations: 4 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.3318, allocations: 79.27 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3318, allocations: 4.094 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002495/0.332, allocations: 48 kB / 1.069 GB, free: 9.488 MB / 0.8419 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.0003952/0.3324, allocations: 165 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3325, allocations: 27.98 kB / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3326, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.3326, allocations: 19.94 kB / 1.069 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.3328, allocations: 26.81 kB / 1.069 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.3331, allocations: 152.4 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3335, allocations: 0.6768 MB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3335, allocations: 11.44 kB / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3335, allocations: 0 / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of Templates: time 0.002885/0.3364, allocations: 1.039 MB / 1.071 GB, free: 7.316 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches