Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005371/0.005371, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001469/0.001469, allocations: 195.2 kB / 16.68 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 71.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6837, allocations: 151.6 MB / 1.166 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.001685/0.6854, allocations: 0.7634 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.6863, allocations: 0.8803 MB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.6864, allocations: 3.938 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.6864, allocations: 3.938 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.6865, allocations: 19.8 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.6866, allocations: 43.92 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.6868, allocations: 95.77 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.6869, allocations: 15.98 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.93e-05/0.687, allocations: 47.8 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.6871, allocations: 51.81 kB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.6871, allocations: 4 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.6871, allocations: 8 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.6872, allocations: 23.91 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.6872, allocations: 43.78 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.6873, allocations: 87.8 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.6873, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6873, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.6874, allocations: 4 kB / 1.168 GB, free: 1.816 MB / 0.8887 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.0006546/0.688, allocations: 415 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.6881, allocations: 12.92 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.6881, allocations: 38.73 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.6881, allocations: 12.83 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.6883, allocations: 176.2 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.6883, allocations: 4.375 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.6883, allocations: 8.375 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.6886, allocations: 121.1 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6886, allocations: 3.938 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6886, allocations: 4 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6886, allocations: 4 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.689, allocations: 95.84 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.6895, allocations: 444.7 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.6899, allocations: 109.1 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.6901, allocations: 65.73 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.6901, allocations: 0 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6902, allocations: 34.5 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.6902, allocations: 3.984 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0006341/0.6908, allocations: 181.4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6909, allocations: 77.11 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.691, allocations: 137.8 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.691, allocations: 29.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.6911, allocations: 100.1 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.6911, allocations: 19.8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.6912, allocations: 29.66 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6913, allocations: 322.8 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.6915, allocations: 43.95 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.6917, allocations: 57.67 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.692, allocations: 113.6 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.692, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004002/0.6924, allocations: 137.6 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6924, allocations: 6.5 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6924, allocations: 11.94 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.6925, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6926, allocations: 31.91 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6926, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.6928, allocations: 23.88 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.6928, allocations: 3.984 kB / 1.171 GB, free: 14.73 MB / 0.9044 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 8.055e-05/0.6929, allocations: 113.8 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.6929, allocations: 11.95 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.6934, allocations: 189.7 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6934, allocations: 0 / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6934, allocations: 7.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6934, allocations: 3.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.6937, allocations: 209.6 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6937, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.6939, allocations: 27.97 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.6939, allocations: 4.516 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6939, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6939, allocations: 3.938 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6939, allocations: 0 / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.6944, allocations: 334.5 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.6945, allocations: 89.05 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.6945, allocations: 15.91 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6947, allocations: 11.98 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.6948, allocations: 23.91 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6948, allocations: 4 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.049e-05/0.6949, allocations: 109 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6949, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002642/0.6951, allocations: 20 kB / 1.172 GB, free: 13.46 MB / 0.9044 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.0008235/0.696, allocations: 0.8561 MB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.6964, allocations: 123.8 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.6964, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6966, allocations: 63.89 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.697, allocations: 46.14 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.6992, allocations: 1.726 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6995, allocations: 0.7002 MB / 1.176 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.6996, allocations: 12.73 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.6997, allocations: 35.42 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.6997, allocations: 3.938 kB / 1.176 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.751/2.451, allocations: 3.121 MB / 1.179 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/16.94, allocations: 7.078 kB / 1.179 GB, free: 6.797 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches