Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",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.004639/0.004639, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001297/0.001297, allocations: 193.6 kB / 16.67 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.39/1.39, 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.754/2.754, allocations: 482.4 MB / 0.7548 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.14 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 162.2 MB / 1.241 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001923/0.3074, allocations: 0.7556 MB / 1.242 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.3086, allocations: 0.8702 MB / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.3086, allocations: 0 / 1.243 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.3087, allocations: 7.875 kB / 1.243 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.3088, allocations: 19.84 kB / 1.243 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.309, allocations: 43.83 kB / 1.243 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3091, allocations: 91.77 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3092, allocations: 27.95 kB / 1.243 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.3093, allocations: 39.86 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3094, allocations: 55.8 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3094, allocations: 11.94 kB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.081e-05/0.3095, allocations: 11.94 kB / 1.243 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.3095, allocations: 23.92 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3096, allocations: 35.8 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3097, allocations: 91.88 kB / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3097, allocations: 0 / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3097, allocations: 0 / 1.243 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3097, allocations: 0 / 1.243 GB, free: 7.188 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007347/0.3105, allocations: 411.1 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3105, allocations: 8.031 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.131e-05/0.3106, allocations: 38.73 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.3106, allocations: 8.891 kB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3108, allocations: 184.2 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3108, allocations: 384 / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3108, allocations: 4.375 kB / 1.244 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.3111, allocations: 135.4 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3111, allocations: 3.938 kB / 1.244 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3112, allocations: 4 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.3112, allocations: 4 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.3116, allocations: 99.83 kB / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.3122, allocations: 432.7 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.3126, allocations: 121.1 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.3128, allocations: 57.73 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3128, allocations: 4.156 kB / 1.245 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3129, allocations: 30.56 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3129, allocations: 0 / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006809/0.3136, allocations: 177.4 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3136, allocations: 81.11 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3138, allocations: 140 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.3138, allocations: 33.64 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.3139, allocations: 100.1 kB / 1.245 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3139, allocations: 23.8 kB / 1.245 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.314, allocations: 29.66 kB / 1.245 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3141, allocations: 318.8 kB / 1.246 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3143, allocations: 43.95 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3145, allocations: 65.67 kB / 1.246 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.3149, allocations: 102 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3149, allocations: 0 / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004221/0.3153, allocations: 149.5 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3153, allocations: 4 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3153, allocations: 0 / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3154, allocations: 4 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3155, allocations: 27.91 kB / 1.246 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3155, allocations: 3.938 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3157, allocations: 31.8 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.3157, allocations: 8 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.881e-05/0.3158, allocations: 121.8 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.3159, allocations: 7.953 kB / 1.246 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.3164, allocations: 181.7 kB / 1.247 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3164, allocations: 4 kB / 1.247 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3164, allocations: 0 / 1.247 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3164, allocations: 3.938 kB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3167, allocations: 209.6 kB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3167, allocations: 0 / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3169, allocations: 27.97 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3169, allocations: 0 / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.3169, allocations: 8 kB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3169, allocations: 0 / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.317, allocations: 4 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.3175, allocations: 334.4 kB / 1.247 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.3176, allocations: 96.98 kB / 1.247 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3176, allocations: 3.984 kB / 1.247 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3178, allocations: 19.98 kB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.3179, allocations: 11.92 kB / 1.247 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3179, allocations: 8 kB / 1.247 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.318, allocations: 113.9 kB / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.318, allocations: 0 / 1.247 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002789/0.3183, allocations: 20 kB / 1.247 GB, free: 2.836 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0008545/0.3191, allocations: 0.8606 MB / 1.248 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3196, allocations: 119.8 kB / 1.248 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3196, allocations: 0 / 1.248 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.3198, allocations: 63.89 kB / 1.248 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.3203, allocations: 31.86 kB / 1.248 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.3227, allocations: 1.743 MB / 1.25 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3231, allocations: 0.6963 MB / 1.251 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.577e-05/0.3232, allocations: 20.53 kB / 1.251 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.3233, allocations: 35.42 kB / 1.251 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3233, allocations: 0 / 1.251 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3475, allocations: 3.105 MB / 1.254 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.441, allocations: 15.92 kB / 1.254 GB, free: 12.17 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches