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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006355/0.006355, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001495/0.001495, allocations: 195.9 kB / 16.67 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4047, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002365/0.4071, allocations: 1.282 MB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.4082, allocations: 0.7558 MB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.4082, allocations: 0 / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.4083, allocations: 0 / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.4083, allocations: 15.92 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.4088, allocations: 167.2 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.4089, allocations: 27.8 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.4089, allocations: 8 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.409, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.409, allocations: 11.92 kB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.409, allocations: 0 / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.4095, allocations: 287.5 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.4095, allocations: 11.92 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.4096, allocations: 15.94 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.4099, allocations: 168 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4099, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4099, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.4099, allocations: 0 / 1.21 GB, free: 7.379 MB / 0.9669 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.000439/0.4103, allocations: 369.5 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4104, allocations: 8.625 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.4104, allocations: 34.75 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.4107, allocations: 28.81 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4108, allocations: 164.3 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4108, allocations: 4.375 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.4108, allocations: 384 / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.411, allocations: 54.23 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.411, allocations: 3.938 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.411, allocations: 0 / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.411, allocations: 0 / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.4111, allocations: 19.98 kB / 1.211 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.4113, allocations: 165.7 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.4114, allocations: 66.62 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.4114, allocations: 20.86 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.4115, allocations: 3.984 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4115, allocations: 42.55 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4115, allocations: 0 / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0001815/0.4117, allocations: 81.62 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4117, allocations: 59.34 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.4118, allocations: 89.86 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4118, allocations: 29.64 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.4119, allocations: 80.14 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.4119, allocations: 27.64 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.412, allocations: 17.72 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4121, allocations: 315 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.921e-05/0.4121, allocations: 15.98 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.4122, allocations: 8 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.664e-05/0.4122, allocations: 36.84 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4122, allocations: 0 / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001078/0.4124, allocations: 65.69 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4124, allocations: 11.88 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4124, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4124, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4125, allocations: 12 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.4126, allocations: 7.938 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.4126, allocations: 11.97 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.4126, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 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 7.232e-05/0.4127, allocations: 109.8 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.4127, allocations: 11.84 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.4129, allocations: 89.52 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.4129, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.413, allocations: 0 / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.413, allocations: 7.984 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.4131, allocations: 166.1 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4131, allocations: 0 / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.4132, allocations: 12 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4132, allocations: 7.938 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.4132, allocations: 3.984 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4132, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4132, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.4134, allocations: 105 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.4134, allocations: 85.09 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.4135, allocations: 3.938 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.749e-05/0.4135, allocations: 0 / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.4136, allocations: 4 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.4136, allocations: 3.938 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.4136, allocations: 87.27 kB / 1.212 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4136, allocations: 4 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001992/0.4138, allocations: 8 kB / 1.212 GB, free: 4.527 MB / 0.9669 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.0004361/0.4143, allocations: 0.6257 MB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4144, allocations: 40.14 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4144, allocations: 4.094 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.4145, allocations: 31.97 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4147, allocations: 4 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.4152, allocations: 172.1 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4155, allocations: 0.6768 MB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.76e-05/0.4155, allocations: 11.98 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.4156, allocations: 19.42 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.4156, allocations: 0 / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.4344, allocations: 1.441 MB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.198, allocations: 10.81 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > 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