Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.001606/0.001606, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002005/0.002005, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.991/1.991, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.014/3.014, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 67.45 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.305, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002554/0.3076, allocations: 1.337 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3089, allocations: 0.8769 MB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.309, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.309, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.193e-05/0.3091, allocations: 4 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.3097, allocations: 175.5 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.3098, allocations: 27.8 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.3098, allocations: 0 / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.3099, allocations: 11.98 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.3099, allocations: 7.984 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3099, allocations: 0 / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.3102, allocations: 187.8 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3102, allocations: 7.938 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.3103, allocations: 8 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.3105, allocations: 155.7 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3105, allocations: 0 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3105, allocations: 0 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3105, allocations: 0 / 1.055 GB, free: 5.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000406/0.311, allocations: 355.5 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.311, allocations: 12.61 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.311, allocations: 30.75 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3112, allocations: 20.86 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.3113, allocations: 164.3 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3114, allocations: 384 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3114, allocations: 15.94 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3115, allocations: 37.69 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3115, allocations: 0 / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3115, allocations: 4 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3115, allocations: 0 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.3116, allocations: 15.98 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3118, allocations: 157.7 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.3127, allocations: 138.4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.936e-05/0.3128, allocations: 20.86 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3129, allocations: 85.09 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3129, allocations: 38.56 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3129, allocations: 0 / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001752/0.3131, allocations: 69.52 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3131, allocations: 51.41 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.3132, allocations: 97.84 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3132, allocations: 25.7 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.3133, allocations: 80.14 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3133, allocations: 12.03 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3133, allocations: 17.72 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.3134, allocations: 314.8 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.3134, allocations: 8 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.615e-05/0.3135, allocations: 4 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.038e-05/0.3135, allocations: 28.84 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3135, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.467e-05/0.3136, allocations: 65.47 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3136, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3137, allocations: 8 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3137, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-05/0.3137, allocations: 4 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3137, allocations: 3.984 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.3138, allocations: 7.938 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3138, allocations: 4 kB / 1.057 GB, free: 3.719 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 (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 7.019e-05/0.3139, allocations: 115.3 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.3139, allocations: 4 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.3141, allocations: 81.11 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3141, allocations: 3.938 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3142, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.3142, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.3143, allocations: 165.6 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3143, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.3143, allocations: 12 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3144, allocations: 0 / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3144, allocations: 3.938 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3144, allocations: 0 / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3144, allocations: 8.047 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3145, allocations: 88.97 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.3146, allocations: 85.11 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3146, allocations: 0 / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.175e-05/0.3146, allocations: 4 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.3147, allocations: 11.92 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3147, allocations: 0 / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.3147, allocations: 79.28 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3147, allocations: 0 / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002414/0.315, allocations: 44 kB / 1.058 GB, free: 2.926 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 (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.0006225/0.3156, allocations: 0.6862 MB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.3157, allocations: 31.92 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3157, allocations: 0 / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.3158, allocations: 19.98 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3159, allocations: 1.547 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.3164, allocations: 188.2 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3166, allocations: 0.6768 MB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.732e-05/0.3167, allocations: 15.94 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.3168, allocations: 7.438 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3168, allocations: 0 / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.495/1.812, allocations: 1.87 MB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004393/1.812, allocations: 270.1 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/4.303, allocations: 0 / 1.061 GB, free: 15.16 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches