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: "" <> 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.004887/0.004887, allocations: 98.94 kB / 15.73 MB, free: 6.008 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.001258/0.001258, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 482.6 MB / 0.755 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 69.78 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison): time 0.002241/0.3222, allocations: 1.278 MB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3234, allocations: 0.7609 MB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.3234, allocations: 4 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.3234, allocations: 0 / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.3235, allocations: 7.922 kB / 1.244 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.324, allocations: 159.3 kB / 1.244 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.554e-05/0.324, allocations: 31.8 kB / 1.244 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3241, allocations: 4 kB / 1.244 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.3241, allocations: 15.92 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.3242, allocations: 11.98 kB / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.3242, allocations: 0 / 1.244 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.3247, allocations: 287.5 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.3247, allocations: 7.938 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3247, allocations: 8 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.325, allocations: 179.8 kB / 1.245 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3251, allocations: 0 / 1.245 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3251, allocations: 0 / 1.245 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3251, allocations: 0 / 1.245 GB, free: 6.16 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.0004354/0.3255, allocations: 371.1 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3255, allocations: 8.031 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3256, allocations: 38.75 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.3258, allocations: 16.91 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.326, allocations: 172.2 kB / 1.245 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.326, allocations: 8.375 kB / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.326, allocations: 384 / 1.245 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3261, allocations: 50.23 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3261, allocations: 7.938 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3261, allocations: 4 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3262, allocations: 0 / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.3262, allocations: 19.98 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.3264, allocations: 165.7 kB / 1.245 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3265, allocations: 62.52 kB / 1.245 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.3266, allocations: 28.89 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3266, allocations: 4 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3266, allocations: 34.56 kB / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3267, allocations: 0 / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0001897/0.3268, allocations: 81.52 kB / 1.246 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3269, allocations: 59.39 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.327, allocations: 93.86 kB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.327, allocations: 25.7 kB / 1.246 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.327, allocations: 84.27 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3271, allocations: 19.86 kB / 1.246 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3271, allocations: 17.7 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3272, allocations: 314.8 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.3273, allocations: 16 kB / 1.246 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.3273, allocations: 11.98 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.3274, allocations: 32.86 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3274, allocations: 3.938 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001042/0.3275, allocations: 66.06 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3275, allocations: 11.94 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3275, allocations: 4 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3276, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3277, allocations: 15.98 kB / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3277, allocations: 0 / 1.246 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.3277, allocations: 11.94 kB / 1.246 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3277, allocations: 0 / 1.246 GB, free: 4.102 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 8.408e-05/0.3278, allocations: 106.4 kB / 1.246 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.3279, allocations: 15.83 kB / 1.246 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.3281, allocations: 93.56 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3281, allocations: 0 / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3281, allocations: 4 kB / 1.247 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3281, allocations: 0 / 1.247 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3282, allocations: 161.7 kB / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3282, allocations: 0 / 1.247 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.3283, allocations: 23.98 kB / 1.247 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3283, allocations: 3.938 kB / 1.247 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3284, allocations: 0 / 1.247 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3284, allocations: 0 / 1.247 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3284, allocations: 4 kB / 1.247 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3285, allocations: 97.11 kB / 1.247 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3286, allocations: 85.06 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3286, allocations: 7.938 kB / 1.247 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.3287, allocations: 4 kB / 1.247 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.3287, allocations: 7.984 kB / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.3287, allocations: 0 / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.3287, allocations: 79.28 kB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3288, allocations: 0 / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001887/0.3289, allocations: 12 kB / 1.247 GB, free: 3.305 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.0004341/0.3294, allocations: 0.6359 MB / 1.248 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.3295, allocations: 35.92 kB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3295, allocations: 4 kB / 1.248 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.3296, allocations: 19.98 kB / 1.248 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.3298, allocations: 8 kB / 1.248 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.3302, allocations: 164.1 kB / 1.248 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3305, allocations: 0.6846 MB / 1.248 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.3306, allocations: 8.234 kB / 1.249 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3306, allocations: 19.38 kB / 1.249 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3306, allocations: 0 / 1.249 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/0.4967, allocations: 1.442 MB / 1.25 GB, free: 352 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.375, allocations: 4.781 kB / 1.25 GB, free: 352 kB / 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=400 --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