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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001325/0.001325, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.00157/0.00157, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.975/2.975, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001508, allocations: 61.31 kB / 0.8986 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3898, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.002653/0.3925, allocations: 0.8103 MB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.394, allocations: 0.878 MB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.3941, allocations: 0 / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.3942, allocations: 3.938 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3943, allocations: 15.86 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.3945, allocations: 39.95 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.3947, allocations: 95.7 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3948, allocations: 23.92 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3949, allocations: 47.83 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3951, allocations: 47.77 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3951, allocations: 8 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.169e-05/0.3951, allocations: 4 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.3952, allocations: 23.92 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.3952, allocations: 47.77 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3954, allocations: 87.95 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3954, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3955, allocations: 7.938 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3955, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 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.0008836/0.3964, allocations: 407.1 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3964, allocations: 12.62 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.3965, allocations: 12.84 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3966, allocations: 172.3 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3967, allocations: 384 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.3967, allocations: 12.3 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.3971, allocations: 123.9 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3971, allocations: 192 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3971, allocations: 7.938 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3972, allocations: 0 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.3975, allocations: 95.89 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.3981, allocations: 444.6 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.3986, allocations: 117.1 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3988, allocations: 61.73 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3988, allocations: 4 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3988, allocations: 30.56 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3988, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006479/0.3995, allocations: 177.4 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3996, allocations: 77.11 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3997, allocations: 140.5 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3997, allocations: 33.7 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.3998, allocations: 91.98 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3998, allocations: 23.7 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.3999, allocations: 29.7 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.4, allocations: 322.7 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4002, allocations: 43.95 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4004, allocations: 65.66 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.4007, allocations: 109.9 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4008, allocations: 0 / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004285/0.4012, allocations: 145.4 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4012, allocations: 4 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4012, allocations: 4 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4012, allocations: 3.984 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4014, allocations: 27.97 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4014, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4016, allocations: 23.86 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4016, allocations: 7.938 kB / 1.057 GB, free: 3.59 MB / 0.8106 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.0001077/0.4017, allocations: 119.3 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.4018, allocations: 11.91 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.4023, allocations: 181.8 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4024, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4024, allocations: 4 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4024, allocations: 3.938 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.4027, allocations: 209.5 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4027, allocations: 4 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.4029, allocations: 27.97 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4029, allocations: 0 / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4029, allocations: 4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4029, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4029, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004802/0.4034, allocations: 338.4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.4035, allocations: 97 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4035, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4038, allocations: 19.98 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.4038, allocations: 11.92 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4039, allocations: 8 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.642e-05/0.404, allocations: 108.8 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.404, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002912/0.4043, allocations: 16 kB / 1.058 GB, free: 2.336 MB / 0.8106 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.0001374/0.4044, allocations: 99.25 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.4049, allocations: 120.1 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4049, allocations: 0 / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.4051, allocations: 63.89 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.4057, allocations: 41.77 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.4063, allocations: 259.9 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.4068, allocations: 0.7078 MB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.4069, allocations: 12.55 kB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.407, allocations: 23.36 kB / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of SimCode: time 1.894e-06/0.407, allocations: 0 / 1.059 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of Templates: time 0.005569/0.4126, allocations: 1.674 MB / 1.061 GB, free: 15.31 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins/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