Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008132/0.008132, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.002078/0.002078, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 68.27 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002633/0.3352, allocations: 1.292 MB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3365, allocations: 0.7648 MB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.3365, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.3365, allocations: 3.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.3366, allocations: 11.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.3372, allocations: 159.2 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.3373, allocations: 31.84 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.3373, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.3374, allocations: 8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.3374, allocations: 15.92 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.3374, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.338, allocations: 287.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.338, allocations: 7.969 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.338, allocations: 11.94 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.3383, allocations: 163.7 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3383, allocations: 4 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3383, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3384, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 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.0005072/0.3389, allocations: 371.4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3389, allocations: 12.03 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.3392, allocations: 20.91 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3393, allocations: 164.3 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3393, allocations: 384 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.3394, allocations: 4.375 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3395, allocations: 50.23 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3395, allocations: 4.125 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3395, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3396, allocations: 4 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.3396, allocations: 23.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.3398, allocations: 161.6 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.34, allocations: 70.62 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.34, allocations: 16.86 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3401, allocations: 4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.3401, allocations: 38.56 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3401, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0001962/0.3403, allocations: 81.61 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3404, allocations: 55.34 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.3404, allocations: 89.86 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.3405, allocations: 33.64 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.3405, allocations: 80.14 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.3405, allocations: 23.64 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3406, allocations: 21.84 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3407, allocations: 314.8 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.3407, allocations: 11.98 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/0.3408, allocations: 12 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.3408, allocations: 36.84 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3409, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001344/0.341, allocations: 62.12 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.341, allocations: 5.719 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.341, allocations: 11.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3411, allocations: 4 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3412, allocations: 15.94 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3412, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3412, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3413, allocations: 3.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 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 8.483e-05/0.3413, allocations: 117.8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3414, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.3416, allocations: 101.5 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3416, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3416, allocations: 3.938 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3416, allocations: 3.984 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3417, allocations: 165.6 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3417, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.3418, allocations: 12 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3418, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3419, allocations: 11.92 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3419, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3419, allocations: 3.938 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.342, allocations: 97.11 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.3421, allocations: 81.09 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3421, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.3422, allocations: 7.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.3422, allocations: 3.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3422, allocations: 12 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.3423, allocations: 79.27 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3423, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001873/0.3425, allocations: 8 kB / 1.093 GB, free: 11.94 MB / 0.8575 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.0001225/0.3426, allocations: 99.25 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.3427, allocations: 35.98 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3427, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.632e-05/0.3428, allocations: 32.02 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.343, allocations: 8 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3434, allocations: 126.6 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3436, allocations: 0.6807 MB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.3437, allocations: 8 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.3437, allocations: 11.42 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3437, allocations: 0 / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.002906/0.3466, allocations: 0.5884 MB / 1.095 GB, free: 10.3 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches