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: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TDryBul|wetBulPhi.phi|wetBulPhi.TWetBul|wetBulPhi1.TDryBul|wetBulPhi1.phi|wetBulPhi1.TWetBul",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009864/0.009864, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.002078/0.002078, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.621/2.621, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 63.75 kB / 0.9508 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.378, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002327/0.3804, allocations: 0.755 MB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3818, allocations: 0.8861 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3819, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.382, allocations: 7.875 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3821, allocations: 19.84 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.3823, allocations: 35.89 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3825, allocations: 95.69 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3826, allocations: 27.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.3827, allocations: 35.91 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3828, allocations: 51.81 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.3829, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.3829, allocations: 8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.3829, allocations: 19.92 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.383, allocations: 35.8 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3832, allocations: 99.53 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3832, allocations: 8 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3832, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3832, allocations: 0 / 1.09 GB, free: 15.42 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.000775/0.384, allocations: 407.2 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.384, allocations: 16.03 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3841, allocations: 8.844 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3842, allocations: 176.2 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3842, allocations: 4.375 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3843, allocations: 4.375 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.3846, allocations: 127.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3846, allocations: 192 / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.3847, allocations: 7.938 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3847, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003684/0.3851, allocations: 99.89 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.3857, allocations: 440.6 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.3862, allocations: 121.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.3864, allocations: 53.73 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3864, allocations: 8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3865, allocations: 34.56 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3865, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0007058/0.3872, allocations: 177.4 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3873, allocations: 77.11 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3874, allocations: 142.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3874, allocations: 25.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3875, allocations: 99.97 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3875, allocations: 23.66 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3876, allocations: 25.7 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3877, allocations: 326.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3879, allocations: 43.95 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3881, allocations: 57.67 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3884, allocations: 109.6 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3884, allocations: 0 / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004211/0.3888, allocations: 149.4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3889, allocations: 4 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3889, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3889, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3891, allocations: 31.97 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3891, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3892, allocations: 23.86 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.3893, allocations: 7.984 kB / 1.093 GB, free: 12.38 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.0001019/0.3894, allocations: 113.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.3894, allocations: 8.375 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.39, allocations: 193.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.39, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.39, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.39, allocations: 3.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.3903, allocations: 213.5 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3903, allocations: 4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.3905, allocations: 31.91 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3905, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3905, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3905, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3905, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.3911, allocations: 330.4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.3912, allocations: 97 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3912, allocations: 3.984 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3914, allocations: 15.92 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.3914, allocations: 19.86 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3915, allocations: 4 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.202e-05/0.3916, allocations: 116.4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3916, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002802/0.3919, allocations: 16 kB / 1.094 GB, free: 11.12 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.0001261/0.392, allocations: 103.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.3925, allocations: 115.8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3925, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3927, allocations: 71.86 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3932, allocations: 26.88 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.3938, allocations: 231.4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3941, allocations: 0.6963 MB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.782e-05/0.3942, allocations: 16.55 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.3943, allocations: 15.44 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3943, allocations: 3.938 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.005549/0.3998, allocations: 1.809 MB / 1.097 GB, free: 8.012 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/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