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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001662/0.001662, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.00197/0.00197, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.464/2.464, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 69.3 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002208/0.2991, allocations: 1.294 MB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3001, allocations: 0.7769 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.3002, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.3002, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.3002, allocations: 15.91 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.3007, allocations: 155.3 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.539e-05/0.3007, allocations: 27.84 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.3008, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.3008, allocations: 19.92 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.3009, allocations: 4 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.194e-06/0.3009, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003953/0.3013, allocations: 287.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.3013, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3013, allocations: 15.92 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3016, allocations: 175.6 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3016, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3016, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3016, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 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.0003735/0.302, allocations: 371.4 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.302, allocations: 8.031 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.3023, allocations: 20.91 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.3024, allocations: 160.4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.3024, allocations: 384 / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3024, allocations: 4.375 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.3025, allocations: 58.12 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.3025, allocations: 4.188 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3025, allocations: 3.938 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3025, allocations: 7.984 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.3026, allocations: 23.98 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.3028, allocations: 157.6 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3029, allocations: 62.66 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.3029, allocations: 24.89 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.303, allocations: 11.94 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.303, allocations: 30.56 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.303, allocations: 3.938 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0001684/0.3032, allocations: 77.62 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.3032, allocations: 51.41 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.3033, allocations: 93.84 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3033, allocations: 29.7 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.3033, allocations: 84.27 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.3033, allocations: 15.75 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.3034, allocations: 21.62 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.3035, allocations: 318.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.3035, allocations: 8 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.3035, allocations: 19.92 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.3036, allocations: 32.86 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3036, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.487e-05/0.3037, allocations: 61.69 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3037, allocations: 12 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3037, allocations: 3.938 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3037, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3039, allocations: 16.42 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.3039, allocations: 3.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3039, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 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 6.239e-05/0.304, allocations: 113.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.304, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3042, allocations: 101.5 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3042, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3042, allocations: 3.938 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3043, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3044, allocations: 169.5 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3044, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.3045, allocations: 23.92 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3045, allocations: 4 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3045, allocations: 3.938 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3045, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3045, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3046, allocations: 97.11 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3047, allocations: 81.09 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3047, allocations: 3.938 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.3048, allocations: 8 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.3048, allocations: 7.984 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3048, allocations: 4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.215e-05/0.3048, allocations: 75.28 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3049, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001833/0.305, allocations: 11.94 kB / 1.032 GB, free: 12.51 MB / 0.8106 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.000106/0.3052, allocations: 107.2 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.3053, allocations: 32.08 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3053, allocations: 4 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.501e-05/0.3053, allocations: 27.92 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.3055, allocations: 8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3059, allocations: 122.6 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3062, allocations: 0.6807 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.68e-05/0.3062, allocations: 8 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.3063, allocations: 11.44 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3063, allocations: 4 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.002471/0.3087, allocations: 0.5774 MB / 1.033 GB, free: 10.88 MB / 0.8106 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=480 -s gbode -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/jenkins1/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