Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_comparison,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p_w|p_w_ashrae|r_p",fileNamePrefix="Buildings_latest_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_latest_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.001611/0.001611, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001747/0.001747, allocations: 198.7 kB / 16.26 MB, free: 6.621 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.528/1.528, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 482.3 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 65.14 kB / 0.9233 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3169, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002484/0.3194, allocations: 1.355 MB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3206, allocations: 0.7592 MB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.3206, allocations: 0 / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.3207, allocations: 7.875 kB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.3207, allocations: 7.969 kB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.3212, allocations: 155.4 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.3213, allocations: 27.92 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.3214, allocations: 0 / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.3214, allocations: 4 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.3215, allocations: 19.92 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.504e-06/0.3215, allocations: 0 / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.3219, allocations: 283.5 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.3219, allocations: 7.969 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.322, allocations: 15.94 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3223, allocations: 164 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3223, allocations: 0 / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3223, allocations: 0 / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3223, allocations: 4 kB / 1.084 GB, free: 10.85 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004904/0.3228, allocations: 367.4 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3228, allocations: 12.03 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.3231, allocations: 20.81 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3232, allocations: 168.4 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3233, allocations: 384 / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3233, allocations: 384 / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3234, allocations: 58.23 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3235, allocations: 192 / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3235, allocations: 3.938 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3235, allocations: 0 / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.416e-05/0.3235, allocations: 19.98 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.3238, allocations: 165.6 kB / 1.085 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3239, allocations: 62.69 kB / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.324, allocations: 24.86 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.324, allocations: 0 / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.324, allocations: 38.56 kB / 1.085 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.324, allocations: 7.938 kB / 1.085 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002046/0.3242, allocations: 77.55 kB / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3243, allocations: 59.34 kB / 1.085 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.3244, allocations: 93.86 kB / 1.086 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3244, allocations: 29.83 kB / 1.086 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.3244, allocations: 80.14 kB / 1.086 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3245, allocations: 31.62 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3245, allocations: 17.72 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3247, allocations: 310.8 kB / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.3247, allocations: 15.98 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.3247, allocations: 12 kB / 1.086 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.3248, allocations: 28.86 kB / 1.086 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3248, allocations: 8 kB / 1.086 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001044/0.3249, allocations: 61.62 kB / 1.086 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.325, allocations: 4 kB / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.325, allocations: 7.922 kB / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.325, allocations: 0 / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3251, allocations: 16 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3251, allocations: 0 / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.3252, allocations: 4 kB / 1.086 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3252, allocations: 3.984 kB / 1.086 GB, free: 8.848 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 (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.826e-05/0.3253, allocations: 113.8 kB / 1.086 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3253, allocations: 7.906 kB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3255, allocations: 85.52 kB / 1.086 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3256, allocations: 7.984 kB / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3256, allocations: 0 / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3256, allocations: 0 / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3257, allocations: 169.6 kB / 1.087 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3257, allocations: 4.438 kB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.3258, allocations: 12 kB / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3259, allocations: 0 / 1.087 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.3259, allocations: 7.938 kB / 1.087 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3259, allocations: 4 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3259, allocations: 3.984 kB / 1.087 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.326, allocations: 97.05 kB / 1.087 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.3261, allocations: 89 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3262, allocations: 7.938 kB / 1.087 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-05/0.3262, allocations: 3.938 kB / 1.087 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.3263, allocations: 4 kB / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3263, allocations: 0 / 1.087 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.3263, allocations: 79.28 kB / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001898/0.3265, allocations: 15.94 kB / 1.087 GB, free: 8.047 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 (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.0001321/0.3266, allocations: 103.3 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3268, allocations: 43.92 kB / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3268, allocations: 0 / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.751e-05/0.3268, allocations: 23.98 kB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3271, allocations: 4 kB / 1.087 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3274, allocations: 138.7 kB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3277, allocations: 0.6807 MB / 1.088 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.789e-05/0.3278, allocations: 4 kB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.3278, allocations: 15.42 kB / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3278, allocations: 0 / 1.088 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of Templates: time 0.002898/0.3307, allocations: 0.569 MB / 1.088 GB, free: 6.426 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches