Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00859/0.00859, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001808/0.001808, allocations: 196.2 kB / 16.67 MB, free: 5.926 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 62.41 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3236, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002241/0.3259, allocations: 0.7632 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3272, allocations: 0.8818 MB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.3273, allocations: 0 / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.26e-05/0.3273, allocations: 7.875 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3275, allocations: 11.88 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.3277, allocations: 43.86 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3279, allocations: 95.7 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.328, allocations: 27.97 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3281, allocations: 31.92 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3283, allocations: 47.83 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3283, allocations: 8 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.3283, allocations: 7.938 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3284, allocations: 27.95 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.3284, allocations: 35.8 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3286, allocations: 102.4 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3286, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.335e-06/0.3286, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3287, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 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.0008311/0.3295, allocations: 408 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3295, allocations: 12.03 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.3296, allocations: 38.73 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.3297, allocations: 8.844 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3299, allocations: 172.2 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3299, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3299, allocations: 8.375 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.3304, allocations: 126.1 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3304, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3305, allocations: 11.98 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3305, allocations: 0 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3308, allocations: 95.89 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.3315, allocations: 436.6 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.3319, allocations: 117.1 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.3322, allocations: 61.73 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3322, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3322, allocations: 34.56 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.3322, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007021/0.3329, allocations: 177.4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.333, allocations: 77.11 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3331, allocations: 149.5 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3332, allocations: 29.64 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.3332, allocations: 104.1 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3333, allocations: 23.7 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.3333, allocations: 21.7 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3334, allocations: 322.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3336, allocations: 43.95 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.3338, allocations: 61.61 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.3343, allocations: 109.6 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3343, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005318/0.3349, allocations: 141.4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3349, allocations: 12 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3349, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3349, allocations: 480 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3351, allocations: 27.97 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3351, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3353, allocations: 19.86 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3353, allocations: 3.984 kB / 1.092 GB, free: 12.86 MB / 0.8575 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 0.0001096/0.3354, allocations: 117.8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3355, allocations: 11.84 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000558/0.336, allocations: 185.7 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.336, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.3361, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3361, allocations: 7.875 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.3364, allocations: 209.4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3364, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.3366, allocations: 35.97 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3366, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3366, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3366, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.3367, allocations: 4 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.3372, allocations: 330.5 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.3373, allocations: 89 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.3373, allocations: 8 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3375, allocations: 19.97 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.3376, allocations: 15.92 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3376, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.492e-05/0.3377, allocations: 108.4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3377, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002889/0.338, allocations: 20 kB / 1.093 GB, free: 11.61 MB / 0.8575 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.001068/0.3391, allocations: 0.8644 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.3396, allocations: 115.8 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3396, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.3399, allocations: 68.12 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006326/0.3405, allocations: 44.38 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3433, allocations: 1.745 MB / 1.096 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.3438, allocations: 0.6963 MB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.3439, allocations: 20.41 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.344, allocations: 35.42 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of SimCode: time 9.01e-07/0.344, allocations: 0 / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.3675, allocations: 3.117 MB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.08, allocations: 19.11 kB / 1.1 GB, free: 4.922 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches